Merge "Implement advanced device battery prediction"