Android M app data auto backup will make device switching less of a hassle
Among the many new user experience-enhancing features that Android M is about to bring, there is an Auto Backup for Apps. Much like the name suggests, this should allow apps to save all their data to Google Drive, which should ensure that if a user needs to replace or upgrade their device, their new handset would be restored to a similar condition as the previous one.
The feature will be automatically active for all apps – developers need not worry about updating their software with any additional code. Of course, should the user desire to opt out of auto app backup, the system would allow that.
A neat little touch that was, some would say, long overdue.
source: Android Developers