Merge "Perform idle maintenance when the device is charging." into jb-mr2-dev