janengelmohr / android_device_elephone_p8000

Device repository for Elephone P8000
GNU General Public License v2.0
29 stars 52 forks source link

Fix battery drain #58

Closed janengelmohr closed 8 years ago

janengelmohr commented 8 years ago

I am pretty sure this is caused by the Fingerprint.

janengelmohr commented 8 years ago

Can someone confirm that the battery runtime got worse from build 5 to 6/7?

janengelmohr commented 8 years ago

Fixed with build 7.1

janengelmohr commented 8 years ago

...not really. Many people report the battery usage is still higher than on stock. I observed that this is only when the screen is on, idle drain is fine. Neutral tests would be fine because the drain just "feels" faster as of now.

ggogel commented 8 years ago

Sometimes I get really high battery usage from Android OS and Mobile Network, it keeps the phone active(out of deepsleep) for hours. I couldn't find the reason, yet...http://imgur.com/a/GHL9X

janengelmohr commented 8 years ago

Can someone compare the run time to stock or stock-based ROMs?

ggogel commented 8 years ago

With the stock Tom it's definitely lower. This night Android OS again sucked my battery from about 50% to 15% in about 8h in idle/screen off.

janengelmohr commented 8 years ago

That is odd. Are you in a busy WiFi and is this regular behaviour? I will benchmark my battery as well soon.

ggogel commented 8 years ago

No I'm in my home WiFi. It only happens from time to time. Somehow Android OS hangs up and is just killing the battery, there has to be some event which triggers this. Maybe the fingerprint sensor. I've double tap to wake already disabled, so I can exclude that.

janengelmohr commented 8 years ago

If it was the FP sensor then it would happen on stock as well. Maybe the modem is going bonkers, who knows? Can you install Wakelock Detector and check wakelocks if it happens again?

ggogel commented 8 years ago

I've already checked that. It shows nothing suspicious or helpful, only that the phone was awake over 50% of the time and I didn't used it in this time or only for a few minutes. https://s31.postimg.org/3mweqyv3f/Screenshot_2016_06_06_04_35_41.png

ggogel commented 8 years ago

I installed the newest update and it seems to be fixed, at least for now...

janengelmohr commented 7 years ago

For the record: It indeed was the fingerprint scanner spamming logs over and over again keeping the phone busy with I/O every second.

janengelmohr commented 7 years ago

For the record: It indeed was the fingerprint scanner spamming logs over and over again keeping the phone busy with I/O every second.

ggogel commented 7 years ago

Thank you for reporting back. I installed the latest ota yesterday and was surprised that this issue has vanished entirely. Great work :)