I need help to minimise battery drain when not in use - Xiaomi Mi 5 Questions & Answers

Hi everyone,
The battery drain on my phone is atrocious, and I'm thinking it's a software related issue rather than hardware (phones aren't really my area, so this thinking isn't based on much). Now I don't use my phone much, and when in standby pretty much all of the toggles are turned off (no wifi, data, bluetooth, NFC). Yet even so, if I charge my phone and then unplug it before going to sleep, in the morning I'll only have 20-50% charge left. This is the most common outcome, though once or twice this drain hasn't happened and I've had 2 or 3 solid days of use.
As mentioned phones aren't really my area, but I've installed several apps (Doze, Gsam, Wakelock detector) and tried to lock everything down when not in use, without results.
I'm using Cyanogenmod 13.0-20160908, and Nova Launcher. I've got screenshots from Gsam, but not sure how to add them here (or where to upload them to link to them). Some of the details include (after being charged then not used till I took the screenshots):
Used 77% in 21h 9m (3.6%/h - 13h 54m Active)
Phone 0%
Screen 00:13:49 2%
Phone Radio 21:09:31 7%
Wifi Active 21:09:31 2%
Held Awake 13:40:30 12%
App Usage 76%
Then from App Usage breakdown:
Kernel (Android OS) 25.7% --> CPU Usage (Background Only) 2h 36m, Keep Awake 13h 35m
CyanogenMod System 20.6% --> CPU Usage (Background Only) 2h 5m, Keep Awake 26s, No of Wake Locks 233, No of times waking device 40
Phone Services 17.7% --> CPU Usage (Background Only) 1h 47m, Keep Awake 3m, No of Wake Locks 11107 --> Wakelock Detail: RILJ 3.6m (9884), ServiceStateTracker 15.5s (1223).
Let me know what details would be useful, and thanks in advance for any help. If flashing another rom or back to miui would be likely to fix things I'll do it. I have a few other minor niggles, but if this can be fixed I'd appreciate it.

Related

airplane mode - battery drain

I am experiencing strange issue with airplane mode. My nexus one is loosing about 2% / hour when in airplane mode. In standby mode energy drain is similar. Have any of experienced same issue ? Nexus one is unlocked using method "Root FRF91/FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Working) ". I've tried different Roms, kernels etc, no luck. I'll appreciate help from your side. Thanks.
Download spareparts and check whats using the most battery..
I get around 1% to 3% in 7 to 8 hours.
Also be sure that you "close" games/apps with the back button, not with the home button..
lukbeat said:
I am experiencing strange issue with airplane mode. My nexus one is loosing about 2% / hour when in airplane mode. In standby mode energy drain is similar. Have any of experienced same issue ? Nexus one is unlocked using method "Root FRF91/FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Working) ". I've tried different Roms, kernels etc, no luck. I'll appreciate help from your side. Thanks.
Click to expand...
Click to collapse
I have the same problem.
I turn on the airplane mode all days at the same time (00h) with the battery at 100% and when i wake up (07:15h) my battery is about 90%
Is your nexus one unlocked the same was as mine ? "Root FRF91/FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Working) " ?
lukbeat said:
Is your nexus one unlocked the same was as mine ? "Root FRF91/FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Working) " ?
Click to expand...
Click to collapse
No, mine is Vodafone Spain with EPF21B->FRF91.
I have this problem in Eclair too
I've orderd second battery, should have it tommorow, will report if it's resolve the issue.
lukbeat said:
I've orderd second battery, should have it tommorow, will report if it's resolve the issue.
Click to expand...
Click to collapse
Unless I'm missing something, I doubt this is an issue with the battery itself.
I've tried everything, on a stock 2.1 rom phone do the same... On hero night battery drain on airplane mode was 1% for 8 hours...
lukbeat said:
I've tried everything, on a stock 2.1 rom phone do the same... On hero night battery drain on airplane mode was 1% for 8 hours...
Click to expand...
Click to collapse
So you've excluded the possibility an app is doing this?
I find it odd you have a question about battery usage and haven't mentioned what the actual battery usage page (Settings > About phone > Battery usage).
Charge your phone completely then unplug on airplane mode and leave it sit overnight. See how much your battery goes down and what the Battery usage page shows is using your battery.
It'd be silly to talk about this any further without knowing this basic information.
Here is Battery usage after 11 hours in airplane mode /battery lost 18%/:
(Settings > About phone > Battery usage).
Phone idle 61%
Display 33%
Android System 4%
Spare parts:
Cpu usage:
Android system
android.process.acore
settings
suspend
akmd
mediaserver
clock
partial wake usage:
Android System
Clock
UID 10053
Dialer
Do you have any ideas ?
Is anyone able to help me?
I tried to look up some exact information on what items are considered Phone Idle. Like most things Android, it's next to impossible to find any official documentation on the matter, just a lot of forum postings of users guessing.
First, let's make sure we understand what we're seeing. After 11 hours you lost 18%. That is about 1.6% per hour on average. Now if we use that to calculate an average per hour % loss per app it would be:
Phone idle: 61% of the 1.6%/hour = 1.0%/hour
Display: 33% of the 1.6%/hour = 0.5%/hour (although it doesn't make much sense to think of display usage over all time)
Android System: 4% of the 1.6%/hour = 0.1%/hour
I'm wondering if you have an app installed that has very aggressive update settings? At this point all I can do is guess since I don't really know what Android considers part of the "Phone Idle" group, but if Android had to constantly start up a service maybe that would build. I would think the service getting started would appear in your battery usage though.
Additionally, do you still have GPS turned on, and do you use anything like Latitude that constantly tries to ping a server about your location?
I decided after writing my last reply I would charge my phone up fully and then let it drain with my normal usage to see how it compares to your airplane mode usage.
Used with light usage and listening to music for 3 hours and 55 minutes. Battery drained 21% (seems higher than usual, not sure why). That works out to be 5.4% per hour. The battery usage showed the following:
Wifi: 27% = 5.7% of battery, 1.5% per hour
Cell Standby: 21% = 4.4% of battery, 1.1% per hour
Phone Idle: 19% = 4.0% of battery, 1.0% per hour
Display: 15% = 3.2% of battery, 0.8% per hour
Android System: 6% = 1.3% of battery, 0.3% per hour
Media Server: 4% = 0.8% of battery, 0.2% per hour
Android OS: 2% = 0.4% of battery, 0.1% per hour
Last.fm: 2% = 0.4% of battery, 0.1% per hour
Music: 2% = 0.4% of battery, 0.1% per hour
So the most interesting thing here is that my Phone Idle actually worked out to be the same per hour battery loss that yours did. I have everything turned on except for bluetooth and have Latitude reporting my location in the background. I also run other background services such as the last.fm music scrobbling, news&weather updates, foursquare notifications, twitter notifications, and probably other stuff I'm forgetting.

Xperia SP battery issue?

Hi
I think I might have an issue with the battery on an xperia sp which I got a few days ago. When idle with stamina on it's loosing between 1-2% per hour. I've used Gsam and recorded some stats to show what's using up the battery when the phone is not in use. Hope it makes some sense
loosing ~2% per hour phone in idle screen off
Stamina on, GSM only
Tried airplane, not much difference
Tried Stamina off, no difference
Charged to 95%
61% @ 10:16PM
34% battery use - of that
screen 56.3% (1hr 47min)
phone radio 6.5%
wifi 3.7%
apps 33.3%
TOTAL DRAIN ON BATTERY
-------------------
19% screen (avg 0.18% per minute)
2% phone radio
1.2% wifi
11% apps
____________________________________________
13 HOURS IDLE LATER - 17-20% BATTERY GONE
____________________________________________
44% @ 11.04AM(QUICKLY DROPPED TO 41% in around 2
minutes)
51% battery use - of that
screen 49.8% (1hr 48min)
radio 13.1%
wifi 7.4%
apps 29.6%
TOTAL DRAIN ON BATTERY
-------------------
screen 25.4% (WHY THE INCREASE of 6.4% when OFF all the time?)
radio 6.6% (+4.6%)
wifi 3.78% (+2.58%)
apps 14.8% (+3.4%, not sure why, stamina turns off all apps?)
6.4 + 4.6 + 2.6 + 3.4 = 17%
Why are these using up so much power in idle with stamina mode on?
Hello,
remove your simcard, reboot, got in to flightmode and let Wifi enabled.
now let phone unused for 8hours. its all Ok then accu should drain only 0,05%/h.
This is my XSP which i use only as alarmclock an every day 1 hour as Musicplayer.
I have tried without the sim card but it didn't do anything.
I notice in your screenshot though that there is no connection to 'mobilfunknetzsignal' ... mine is there even when the sim card is out, how did you get rid of it?
spix123 said:
... even when the sim card is out, how did you get rid of it?
Click to expand...
Click to collapse
You must enable the flightmode under "settings->network->more" .
and then please install BetterBatteryStats to see if you have wakelocks and your device go in to deepsleep after turn of the screen.
heross said:
You must enable the flightmode under "settings->network->more" .
and then please install BetterBatteryStats to see if you have wakelocks and your device go in to deepsleep after turn of the screen.
Click to expand...
Click to collapse
Ah yes.. I tried flight mode one night and it still lost 15%
I have also used wakelock detector and it says phone is in deep sleep 99 percent of the time but still the battery is draining 1-2% per hour
Right now the battery is 27% down from 44% 2 hours ago... and I have hardly used it. I'll recharge and try again without turning screen on at all and see whats using it up.
Is there any explanation why the screen used 6.4% of the battery overnight when it was off all the time?
I'm too having about same problem..and am really interested in answer/solution,,,
Please, anyone?
I think I have fixed it but not sure. Phone was charged 24 hours ago to 99%, now its 94%. Definitely not using alot of power with stamina mode now but the screen was only used for 5-10 minutes, I've yet to test if it acts the same after screen has been used for a long time before going idle.
What I did was run phone setup again and update all apps
Now 88% after 40 hours, screen on for 25 minutes. Xperias battery monitor and gsam show completely different usage, android system takes up the majority in the xperia one but only 10% in gsam (under apps)
I checked wakelock detector and something called 'syncloopwakelock' was on for 4 and half hours. Is there any way to disable this? I already have auto sync in settings turned off.
A phone is meant to be used. Using it only from time to time to have as much standby time as possible is just a waste of a good phone.
I can get two days with heavy use. A lot of music, whatsapp, facebook and XDA Premium app..
mrjraider said:
A phone is meant to be used. Using it only from time to time to have as much standby time as possible is just a waste of a good phone.
I can get two days with heavy use. A lot of music, whatsapp, facebook and XDA Premium app..
Click to expand...
Click to collapse
I know, but there was a clear issue before as the battery was draining 20 percent overnight reducing the time I can actually use it. I was getting 5 hours screen on time one day, and only 2 hours the next. Just trying to make sure it has stopped, seems like it has
Would like to solve this syncloop thing though. I have no interest in syncing any accounts as I don't use them.
Simple fix
Change your rom, stock rom eats so much battery and has so many bloats, apps keep running in the background all sony apps.
MIUI is on jellybean and it gives me average of 1 day 20hours on normal use with wifi always on and sim card inserted..texting call and stuff
Problem has returned, woke up today to find battery under 50% and it was at least 75% when I went to sleep. Wakelock detector doesn't show anything and says phone was asleep all the time. Sony's battery graph though shows the phone was awake most of the time, but I can't find the cause in GSam or wakelock detector.
i think i have a idea. it can come from WiFi. there is a bug in all android 4.1. Set Wifi to allways on and deactivate/delete LocationBasedWiFi app from sony.
you can found it with BetterBatteryStats under Process.
Some screenshots
in this screenshoots the problem is not shown. When it comes from WiFi driver it is not a app that drain the accu, but a process.
The Line with awake in history details you can ignore, its buggy in 4.1.
I have searched through everything in Wakelock Detector and only process I found with alot of time is syncloopwakelock which is 4.5 hours. But this was already about 4 hours when battery was 85%
If I buy BetterBatteryStats will this show the problem? As you an see it drained at slow rate for 2 days then suddenly started dropping faster yesterday. I made no changes to Wifi settings, it is always on ... and I use Stamina mode.
Yes BBS will show the problem as "wifistatemachine", if the error should really be come from. you must not buy it, search on XDA for apk.
but if it come from your syncloopwakelock then i can not help.
Holy crap
I charged the phone to 96%, used it for 30 min (down to 92 percent) then went to sleep. Woke up and it was 28% and kept dropping !!! I've checked BBS, Gsam and I can't find the cause... again. After uploading these SS its at 12 percent.
Last 4 screenshots

Absurd battery stats

I'm currently on 5.0.2 and after doing a full refresh and giving the phone a few days post-upgrade to settle down I'm getting absurd battery usage stats. Battery life itself is fine (after taming the runaway Google services), but at 50% battery the stats suggest my screen time is responsible for 3% (despite 4+ hours of SOT), Android system 30% and K9 email for almost 30% (K9 kept the phone awake for less than 2 minutes, and Android System kept it awake for about 35 minutes). Those % figures are absurd and I now use GSam to see what's really happening. Needless to say, it gives far more believable stats.
I have no rogue wake locks, I use Greenify to kill errant apps when not using them, wif-fi turns off when screen is off, and my wireless signal is green 90% of the time. Anyone experiencing the same, or know what's going on? I do have stamina mode enabled, so could that perhaps be interfering in some way?
pipspeak said:
I'm currently on 5.0.2 and after doing a full refresh and giving the phone a few days post-upgrade to settle down I'm getting absurd battery usage stats. Battery life itself is fine (after taming the runaway Google services), but at 50% battery the stats suggest my screen time is responsible for 3% (despite 4+ hours of SOT), Android system 30% and K9 email for almost 30% (K9 kept the phone awake for less than 2 minutes, and Android System kept it awake for about 35 minutes). Those % figures are absurd and I now use GSam to see what's really happening. Needless to say, it gives far more believable stats.
I have no rogue wake locks, I use Greenify to kill errant apps when not using them, wif-fi turns off when screen is off, and my wireless signal is green 90% of the time. Anyone experiencing the same, or know what's going on? I do have stamina mode enabled, so could that perhaps be interfering in some way?
Click to expand...
Click to collapse
Try this forum: http://forum.xda-developers.com/z3-compact/general/post-lp-battery-usage-t3056775 (about batteries and related such)

[Q] Battery/Power issues / management?

I'll start this thread by saying that I've read up on all the battery related threads and visited all the ones suggested.
When I first got my Z3c (~January), I was getting 4+ hours of onscreen time and a good 12-15 hours of life from charge to charge..
Now I'm on Lollipop, and everything seems to have tanked dramatically. Granted I spend hours on my phone everyday, so maybe the battery isn't as stellar as it was (I charge it halfway through the day and it's still poor), but it seems to be giving me miserable performance.
When I go into the settings and check the power consumption menu, when the battery is about 90+% full, the basic screen tells me I have 14h of standby remaining, but if I go into battery use it only says 6 hours total (which is totally accurate) In fact, I'll drop from about 60% to 8% overnight while I am asleep, if I am not charging it.
When I check the App Usage submenu, nothing is listed. No apps at all, in the "Consuming Apps" or otherwise... I'm heavily considering downgrading to Kitkat to see if this helps, but is there anything else I can try first? I can't seem to locate if there's a sleep or wakelock issue.. (one thing I have discovered is that even when the screen is asleep, it still seems to emit a bit of light, like it's actively showing a black square)
I'm not rooted, but I do have the paid version of Greenify.. Suggestions?
You can get the Deep Sleep Info widget which will tell ypu whether your phone is reaching deep sleep when the screen is off. Here is the link: https://play.google.com/store/apps/...p+info&pcampaignid=APPU_1_0E-aVYj-Iob9Uqa3uyg
I get 87% deep sleep and usually have around 2 days pf battery life.
Overnight i lose 1% with stamina and wifi turned off
Sent from my D5833 using XDA Free mobile app

Terrible battery drain cause by "video2" kernel wakelock

I'm hoping someone can assist me. I can't seem to find much information regarding the "video2" kernel wakelock.
I just charged my phone to 100% over night. I have only used it for about 19 minutes and the battery is at 75%.
I am rooted, on the latest OOS - stock; running xposed and magisk (latest versions)
I have forcedoze and leandroid running and I also use wakeblock to limit some wakelocks.
I use an app called WLD (Wakelock Detector) - to show me what wakelocks are being used and I see one in particular that is "video2". What could this be?
video2 shows 3h 28m x1244 in WLD
PowerManagerService.WakeLocks shows 6m 20s x407
All the other kernel wakelocks are under 1m
leandroid should be turning off my network settings when the screen is off, and only turning it on hourly for 60 seconds to get the occassional notifications if there are any and then turn off again.
I am normally connected to WiFi and my location services (GPS) is turned on as well, but as I mentioned, when it's not in use leandroid should be powering them off.
I'm trying to figure out what is using up over 25% of my battery only after 19 mins of use. When I go into settings to look at the battery I see the following:
Screen Usage since full charge - 19m
Android system - 4%
Phone Idle - 2%
Android OS - 2%
Cell standby - 1%
Screen 1%
Use Betterbatterystats and report back all findings from Alarms tab
Sent from my ONEPLUS A3003 using Tapatalk
RASTAVIPER said:
Use Betterbatterystats and report back all findings from Alarms tab
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Thanks for the response, I exported all the logs from BBS. I ended up charging my phone to 100% again and then just left it doze for a bit and once again it eats through the battery idle.
I hope these logs help.
I am uploading screenshots from my phones battery and the BBS screens.
I have left my phone idle since yesterday. SOT is only 3 mins and I'm down to 61%. I would really appreciate any help I can get.
Well, I assume for those who had a look over this thread, you were as baffled by this issue as I initially was.
After a lot of trial and error, I believe I resolved my issue. To help others (in case other users run into a similar issue as I), I will write up a detailed summary of what I did to fix the issue and the apps I used. For now a quick summary.
I would like to bring up an interesting fact, and I'm not sure if my scenario is just an anomaly, but it turned out that the reason I was having this issue is because of having "doze mode" enabled in the developer menu. Apparently this setting conflicted with the battery saving apps I run such as forcedoze and leandroid.
If you use custom apps to save battery, make sure you disable force doze on your OP3T. I did a few other changes on my phone, but after disabling this option, I saw an immediate difference in my phone battery when it was idle and screen off. I only lost 1% battery in about 5 hours, whereas before it seemed less than 1 hour.

Categories

Resources