MIUI high battery "sensor usage" 1.6.3 / 1.6.10 - HTC Inspire 4G

Does anyone running MIUI 1.6.3 or 1.6.10 experiencing large battery usage listed as "sensor usage" in the "android system" category?
Here is how to check:
1. "Settings->Battery Settings->", enable usage monitoring
2. Wait for few minutes
3. Make a phone call (check voicemail or something)
4. Now check battery stats. In my case, I see "Android system" at the top. When I drill down into it, "Sensor usage" uAH is more than 100 (after about a one minute phone call).
I am guessing that when I make a phone call, the proximity sensor is activated and ends up using lots of power.
After about an hour or so of phone calles the uAh for the "sensor usage" is more than 5000.

ponziexplorer said:
Does anyone running MIUI 1.6.3 or 1.6.10 experiencing large battery usage listed as "sensor usage" in the "android system" category?
Here is how to check:
1. "Settings->Battery Settings->", enable usage monitoring
2. Wait for few minutes
3. Make a phone call (check voicemail or something)
4. Now check battery stats. In my case, I see "Android system" at the top. When I drill down into it, "Sensor usage" uAH is more than 100 (after about a one minute phone call).
I am guessing that when I make a phone call, the proximity sensor is activated and ends up using lots of power.
After about an hour or so of phone calles the uAh for the "sensor usage" is more than 5000.
Click to expand...
Click to collapse
Use the Battery Monitor Widget (set to 1 minute polling intervals) to track the drain of your phone. This will give you a lot better indication of realtime battery drain. It's possible the "Battery Settings" screen is giving you some false info. I haven't found that screen to be particularly accurate at times.

henrybravo said:
Use the Battery Monitor Widget (set to 1 minute polling intervals) to track the drain of your phone. This will give you a lot better indication of realtime battery drain. It's possible the "Battery Settings" screen is giving you some false info. I haven't found that screen to be particularly accurate at times.
Click to expand...
Click to collapse
Thanks, looks like there is no real battery drain after all. The stats are not reported correctly.

ponziexplorer said:
Thanks, looks like there is no real battery drain after all. The stats are not reported correctly.
Click to expand...
Click to collapse
Cool, glad to help.

HD2 MIUI SD.
Same problem. After work of proximity sensor current not return to normal low state and stand at level 50-70mA. Only turning off sensor(dialer settings) and reboot help me here.

Related

Setting Profiles using 30% of my battery!?

I am getting decent battery life, but it seems strange that Setting Profiles would use 1/3 of it.
Any one else experience this? Or know a solution?
Thanks
when I change profile on my Nexus S and go back example default or any other profile my ringer for notifications stay at the lowest setting. Very strange, maybe because I'm using CM7 nightly.
BDF
Not sure what to make of your situation; however, out of curiosity, when you select Settings/About Phone/Battery use and click on "Settings Profiles", does a new window pop up to provide further info and if so, what info is provided?
Best Regards!
yes, right now it has used 24% of my battery, I get a new screen that says
Battery used by application 24%
Force Stop Report
CPU total 5m 7s
Keep awake 2h 47m 43s
stop or unistall the app
app info (button)
I just changed it to turn off the widget after a change, increased the rule scan periods location etc.
charging to 100% (or so) and pulling the battery to reset the clocks to see what I get. im not sure if this is recent with this device or it has been doing this since I got the nexus. I didnt see it on the Epic or Evo.
thanks

[HOW TO] Decrease battery consumption(MOST EFFECTIVE WAY)

Hello everyone,
when i was looking for roms kernels and etc i see that the biggest problem is battery consumption. maybe there are some threads here about this but mine is little different. Before setting everything lets calibrate our battery,
Download this app and wait till your battery show 100% (please DO NOT CALIBRATE BEFORE 100%) and open app click "calibrate battery" and unplug the phone. Now you have a calibrated battery.
firstly, we need ROOTED PHONE some apps;
1-ROM TOOLBOX(THE MOST IMPORTANT APP,for market click)
2-GO POWER MASTER (for market click)
3-EASY TASK KİLLER ADVANCED (for market click)
If we had these apps and phone, then LET'S START
As we know the most consumption is done by kernel and the apps that working in background, and the connection units(wifi,3g etc.).
Starting with killing app in background
*Open easy task killer
*From setting >under auto optimize(title) > check the auto optimize.
*Set the auto optimize percent to 60% (this means that when your free memory goes below 60% the app kills all of them ).
*Set the auto optimize frequency to 5 minutes or half hour (5 is best) (this option shows the interval)
*And from the filter setting choose "low security". Now the setting of this app finished let's go on with next app.
We now use rom toolbox for setting our kernel,
*Open app and under permonce setting choose "cpu control" here u will see cpu sliders and profiles
*From the profiles( i attached #5 my profiles photo). you must set the profiles as i set but just the priority beause my kernel and your kernel is not the same and the profiles are depends on you.
(HEY I9003 USERS YOU CAN JUST COPY IT, BECAUSE OUR KERNEL IS THE SAME MAYBE PARTIALLY)
My advice is choosing scren of profile to the lowest value.
And now the last app "go power master" for screen,radio, wifi and all the others.
*Open app and go setings >check "auto start when boots up".
*Go mode and choose "general save" profile(you can see what the profile include from the attachment #7 and #8)
*Then go "smart" > "switch mode by power" > set it "on" 20. save and go back.
*And again "smart" > "switch mode by time" >time is depends on you but you must choose the profile as "long standby" (which turns of all connection and put the phone in flight mode).this mode will return your previous profile after your interval.
YES, AND NOW WE FINISHED THE SETTING OUR BATTERY TO THE BEST CONDITION.
ENJOY WİTH YOUR BATTERY
My battery usually lasts a day and a half. And maybe less than a day with heavy internet surfing and games.
Imma try out your steps and see if it makes a difference
flyrocket said:
My battery usually lasts a day and a half. And maybe less than a day with heavy internet surfing and games.
Imma try out your steps and see if it makes a difference
Click to expand...
Click to collapse
my battery was dead and ı was charging it twice a day but now i am using it a day and with 3 hours wifi open, 2 hours 3g and maybe about 1hour 2g and about 1 hour talking on phone and still have 20% battery(i have changed my kernel setting like as i show in attachment).
Just what i needed btw how did you get percentage on your battery? app or what?
RQ7 said:
Just what i needed btw how did you get percentage on your battery? app or what?
Click to expand...
Click to collapse
thanks.
can you clearly explain what you mean?
battery indicator with percentage or ?
thanks for this! was looking for ways, given im ~10 hours away from home a day, and dont like to plug in until im in bed each night.
Tuffshift said:
thanks for this! was looking for ways, given im ~10 hours away from home a day, and dont like to plug in until im in bed each night.
Click to expand...
Click to collapse
believe me it will help you because i was like youwith my phone all nights my phone was plugged to charger but now i am ok with it
Did anybody try this please comment here if you tried. Thanks
if I helped you please hit THANKS button..
sent from my i9003 with fully tweaked vurrut_v5_rc2, and battery friendly vurrut_v5 kernel( 1.3ghz)
appkiller said:
thanks.
can you clearly explain what you mean?
battery indicator with percentage or ?
Click to expand...
Click to collapse
Percentage
RQ7 said:
Percentage
Click to expand...
Click to collapse
İt is coming with my custom rom mean i didnt do anything but if you use "icon changer" in "rom toolbox" you can change the battery icon but be careful and back up your original now you will ask how? Dont wory icon changer will ask your whether you want or not. This may not work with all devices. BE CAREFUL
sent from my i9003 with fully tweaked vurrut_v5_rc2, and battery friendly vurrut_v5 kernel( 1.3ghz)

[Q] About Battery Life

Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
cliffflip said:
Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
Click to expand...
Click to collapse
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
cliffflip said:
Hi,
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery.
Click to expand...
Click to collapse
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
gsmyth said:
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Click to expand...
Click to collapse
Maps, Google Fit, Google Now, among other things.
CMIIW but I read somewhere that GServicefix does the same like privacy guard, denying some service to keep awake, wake up, etc.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
drcyber said:
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
Click to expand...
Click to collapse
From what I read on the Play Store description, Kitkat and above requires root?
cliffflip said:
Maps, Google Fit, Google Now, among other things.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
Click to expand...
Click to collapse
Please post screenshot of gsam
Try clear cache+dalvic cache in recovery
Hi, sorry for the late reply.
It seems reboot the phone a few times solves the problem. Battery usage now seems normal when idle, even with location & sync turned on.

odd battery usage stats, poor battery life

hi
i have a new (3 months old) unrooted nexus 5 update to latest OS version which is showing some very odd stats wrt battery consumption.
first i had heavy battery drain but then i disabled the scanning options in the location menu which helped. but still even with brightness at only 18%, battery saver on 95% of the time, location & mobile data off all the time & wifi only used for short bursts it still seems to drain quite quickly.
app usage stats as reported by the inbuilt battery stats option differs quite a bit from other battery management apps (du battery saver, battery doctor, gsam battery monitor)
for eg. inbuilt battery stats doesnt even show wifi consumption in the stats even if i use it for few hours (then suddenly one time it showed up with some excessive consumption stats - 1500mah for 2 hours usage; photos attached). very often it shows gravity screen app as the biggest consumer of battery while other apps show gravity screen as consuming very little power. otoh gsam shows battery doctor as consuming the most of all the apps.
what could be the issue?
gsam shows average battery life with screen on as 3h 42m. is that ok?
was also wondering if the optimization options of the battery management apps work or are they gimmicks? for eg both du battery saver & battery doctor show 'x' number of apps consuming power in background & when you press the optimise/close apps button it shows some cool effects of shutting down those apps but you come back after a few hours & the same apps show up in the running in background.
also, the front camera is very grainy. cant believe its that bad in what was a flagship phone. is it just my phone or is that the how it is for other users?
anyone with any inputs?
You got nearly 5 days on a single charge??? Yes, your battery consumption is fine. Nearly 4 hours of SOT is fantastic.
The graininess of the camera will depend a lot on the lighting. Unless you have a light shining directly on your face, the picture is probably pretty dark. That said, it's "only" like a 3MP camera. It's well known as a sub-standard front camera (I'm not a selfie machine so I don't really care). When you think about how microscopic the light sensor is on the front camera, it's no wonder the picture is grainy.
exninja said:
You got nearly 5 days on a single charge??? Yes, your battery consumption is fine. Nearly 4 hours of SOT is fantastic.
The graininess of the camera will depend a lot on the lighting. Unless you have a light shining directly on your face, the picture is probably pretty dark. That said, it's "only" like a 3MP camera. It's well known as a sub-standard front camera (I'm not a selfie machine so I don't really care). When you think about how microscopic the light sensor is on the front camera, it's no wonder the picture is grainy.
Click to expand...
Click to collapse
thanks for your reply exninja
that 5 days was a one time thing where i barely touched the phone & then only to test it. i wish it were that good LOL. normally i get about 2 days with very conservative usage (brightness at only 18%, battery saver on 95% of the time, location & mobile data off all the time & wifi only used for short bursts, 0 talktime)
is 4 hrs SOT that good? i see a lot of people getting 5 to 6 hours + & that too without those conservative usage patterns.
the thing that got me worried is the strange battery usage stats reported in the stock settings.
Honestly I wouldn't worry that much about what each app says is using energy. They're each consuming very little anyways. I'm not familiar with gravity screen so I wouldn't know about it.
I haven't heard of many people getting 5-6 hours of sot, especially since lollipop. I got 4 hours on KitKat, then dropped to 3 or less on lollipop. Now it's usually around 2 hours.
@fguy76
First of all, just to let you know, recently Google Play Services have been acting up. Sometimes I get normal battery drain overnight when I sleep, and sometimes it drains like crazy. For now, there is nothing we can do about Google Play Services.
However, if u noticed that WiFi has been turned on the whole time via the battery history chart, despite the fact that you did not even turn on WiFi at all during that period, then this can only mean one thing. You must have enabled WiFi Scanning (the famous Scanning always available bug in Lollipop & KitKat).
To disable WiFi Scanning, go to Settings first. Then on the top of settings, there is a search bar. Type in "Scanning".
Then u will see the following options. Make sure u disable WiFi Scanning.
Having said this, there is another annoying bug. This bug is when you have left a WiFi hotspot and forgotten to turn of WiFi. So after awhile u realised it and u proceed to turn off WiFi. But hours later, u check your battery stat, and it still shows your WiFi have been active the whole time despite turning it off. For this, the only workaround is to reboot the phone. To avoid this bug, always turn off WiFi b4 u leave the WiFi hotspot area.
@pcphobic i have wifi scanning off & i always remember to turn wifi off when not using it so that second scenario is not an issue with me
fguy76 said:
@pcphobic i have wifi scanning off & i always remember to turn wifi off when not using it so that second scenario is not an issue with me
Click to expand...
Click to collapse
@fguy76
The other solution that I can offer is under Location settings, go to Google Location History and make sure it is turned off.
You can still use GPS based apps with Google Location History turned off.
I suspect that if u find intermittent wifi showing up in your battery history, it could only mean that Google Location History is periodically waking up and using wifi to get an approximate location. I used to get this until I turned off Google Location History.

Battery Drain Diagnosing

I have had a battery drain for several weeks now. It isn't to severe but the biggest issue bothering me the most is at night it is draining about 5-6% even with battery saver turned on. It used to be that in normal mode, the battery would only drop 2-3% over night. I do not charge at night.
I am fully updated and I even reset the phone to factory 2 days ago and the issue still persists. Nothing seems to stand out in the battery stats with regards to apps sucking battery %. So I think this is an issue where it is not going into Doze or Deep Doze but I dont know how to determine that.
Any suggestions how to find the problem?
(on android 10)
When you wake up in the morning...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps used the most battery during the night.
JohnC said:
(on android 10)
When you wake up in the morning...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps used the most battery during the night.
Click to expand...
Click to collapse
I have done that. No apps appear to be doing anything unusual. There are no battery hogs showing up. Not even excessive google services usage or anything. That is why I think this may be a situation where it isn't going into doze or deep doze like it used to but I dont know how to check or monitor that. that info doesn't show in battery stats.
I never heard of this doze/deep doze mode - where did you see this?
I ask because I typically get 10% loss overnight with what I thought was very good because the pixel often then calculates I have 2 days of remaining battery life with that stat.
JohnC said:
I never heard of this doze/deep doze mode - where did you see this?
I ask because I typically get 10% loss overnight with what I thought was very good because the pixel often then calculates I have 2 days of remaining battery life with that stat.
Click to expand...
Click to collapse
You can google it as there are tons of articles about it but here is some insight into it from the developer side: https://bignerdranch.com/blog/diving-into-doze-mode-for-developers/
OK, so it says in order to go into deep-doze, the phone:
1) Must not be charging
2) The screen is off
3) The phone is not moving
So, during the night, are all three of these conditions met?
Also, the device will come out of deep-doze if an incoming push notification is received - could one of your apps be receiving push notifications during the night?
Also, "Any process using a foreground service is exempt from Doze Mode effects, which is key for long-running applications"...do you possibly have any apps that have a foreground service?
Have you tried to switch off Bluetooth, it has a huge impact on battery even if not in use.
I've used apps before. Can't remember but gsam might be one...
It's possible to identify apps that are holding wake locks. That's the first place to check for battery drain.
lop1 said:
Have you tried to switch off Bluetooth, it has a huge impact on battery even if not in use.
Click to expand...
Click to collapse
I always keep WiFi, bluetooth, NFC and location off.
a1291762 said:
I've used apps before. Can't remember but gsam might be one...
It's possible to identify apps that are holding wake locks. That's the first place to check for battery drain.
Click to expand...
Click to collapse
all the apps I can find to track wake locks seem to need ROOT. I'd rather not do that as then I lose OTA updates.
After some extreme disabling of user app, system apps, services, etc. I finally got back to 3% battery drop overnight. I'm not sure which one was the culprit yet but i'll start enabling things as I need them and keep monitoring.
I'm having heavy battery drain. I already charged to 100 and less to 30 minutes i lost 10%.
It began since last update on my case.
After you see a big drain, DON'T plug in and...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps are to blame for the drain.
badtlc said:
all the apps I can find to track wake locks seem to need ROOT.
Click to expand...
Click to collapse
Gsam needs permissions but these can be set with USB debugging, no root needed.
So one thing I have learned is that it appears every time I reboot, gsam thinks my wifi is on even though I have it off. If i turn it on and then back off. Gsam now says wifi is off.
So i got through the night at 3% battery drain but now I am realizing that my phone will not go into deep sleep during the day. Any suggestions how to fix that?
According to the details in the link posted earlier, it will never go into deep sleep if the phone is moving.
JohnC said:
According to the details in the link posted earlier, it will never go into deep sleep if the phone is moving.
Click to expand...
Click to collapse
I leave my phone sitting on a desk all day. There has to be some Android services that only operate during the day but i can't dtermine what those might be.
badtlc said:
So i got through the night at 3% battery drain but now I am realizing that my phone will not go into deep sleep during the day. Any suggestions how to fix that?
Click to expand...
Click to collapse
Was gsam able to identify which app was holding a wake lock?
Or maybe triggering frequent wakeups?
Both of those would prevent doze...
Battery Guru is good for chasing drains (with ADBs), add BBS + adbs and you can find anything using them together!
a1291762 said:
Was gsam able to identify which app was holding a wake lock?
Or maybe triggering frequent wakeups?
Both of those would prevent doze...
Click to expand...
Click to collapse
Google play services mostly. There was a large amount from "Adaptive connectiviy" but when I disabled that those went away.

Categories

Resources