
On Tue, May 24, 2016 at 12:34:45AM +1000, Jason King via luv-talk wrote:
On 23/05/16 17:50, Dan062 via luv-talk wrote:
Problem is I also did a os upgrade (Android) a few days ago! ... Why I And noticed the phone getting hotter and power usage higher than normal too. Turns out an old app I didn't need any more (the optus one to show you your data usage) had kicked back into gear, but couldn't access an optus server, because I'd changed to boost.
Once I uninstalled the optus app, the power drain disappeared.
yup. 99% of the time 'power drain' is a bad app. could be hogging and burning cpu, or just looping and crashing. things change between android versions (eg. APIs, SMS db schema) and sometimes old apps can't deal with it. first port of call in android 6 (and 4.4, which is what I have handy) is settings -> battery and look at the top apps. probably it's the same in any aosp variant. the same display is in sony android 5.1 as settings -> power management -> battery usage and whichever android flavour you have, it'll be there somewhere. it's an aosp thing. if that display fails to finger anything, then something looping and crashing will be super-obvious in logcat, so attach to a laptop with adb and you might be able to see it, although some of this logcat functionality went away with android 5 permissions. or root it, and then give permissions to alogcat app, or install cyanogenmod instead (and then you can click a few menus to enable root), or... many thing. you could even try one of the 'battery optimisation/drain' apps which are probably in the top 10 of malicious and/or battery drain apps out there :) or echo rootmydevice > /proc/sunxi_debug/sunxi_debug hehehe the summary is that there are many ways to see what's going pear shaped, but sadly none of them are particularly obvious or easy. I guess this is fundamentally due to the "always killable/restartable app" model and event driven nature of android, combined with the strict permissions and isolation design. android is really entirely unlike linux apart from the kernel and busybox. cheers, robin