Settings uptime? - One (M8) Q&A, Help & Troubleshooting

Since HTC managed to Bork and change some of the settings is there a way to check up time since last boot that I am missing somewhere? Perhaps even gsam or BBS? kind of upset already missing my android battery stats graph but irks me even more I can't check my uptime. Actually a very important stat to me.
sent from my HTC M8 using hofo app

Settings, power, history.
Sent from my HTC One_M8 using XDA Premium 4 mobile app

Thanks. That was helpful but I meant total uptime. Like when you reboot it resets tour total uptime which is usually in settings>about>status>uptime.
sent from my HTC M8 using hofo app

@rbiter said:
Thanks. That was helpful but I meant total uptime. Like when you reboot it resets tour total uptime which is usually in settings>about>status>uptime.
sent from my HTC M8 using hofo app
Click to expand...
Click to collapse
Did you try *#*#4636#*#* it'll show a screen with Phone Information, Battery Information, Usage statistics and Wi-Fi information. In the Battery information area it gives a "Time since boot" which I suppose is effectively total uptime.
Unless you want something that adds up the amount of time the phone was on since you actually bought it then I don't know...

BerndM14 said:
Did you try *#*#4636#*#* it'll show a screen with Phone Information, Battery Information, Usage statistics and Wi-Fi information. In the Battery information area it gives a "Time since boot" which I suppose is effectively total uptime.
Unless you want something that adds up the amount of time the phone was on since you actually bought it then I don't know...
Click to expand...
Click to collapse
Suhweet. thanks a lot dude. that code works but I use viaero 4g toggle to force LTE only sometimes. the info I wanted is since last boot and it there under my nose all along. it helps knowing if my phone crashed/rebooted unknowingly like when charging at night. very important especially if you start tweaking your phone. thanks again.
sent from my HTC M8 using hofo app

Related

Htc desire battery disaster

Hello guys im new in this forum. 2 weeks ago I bought my wife a desire from telus and the battery life sucks she have 2 charge it twice in less than 8 hours. Is there anyway to make the battery longer? N I have a app on her desire called data on demand to have the 3g off whn shes not using the phone. Still no luck please help me
Sent from my X10a using XDA App
Maybe this helps a bit: http://forum.xda-developers.com/showthread.php?t=755903
I think you need to look closely at what is actually consuming the power.
Chances are that you have a rogue app that is stopping the phone from sleeping properly.
You can look at the battery stats in Menu->Settings->Phone Info->Battery Use, as this should give you an idea of what is actually using power. You might also want to download Spare Parts as this will give you easy access to additional menu items related to battery usage (e.g. partial wake usage). You can also get to these by entering *#*#4626#*#* in the dialler (*#*#INFO#*#*), but I find Spare Parts more convenient.
Regards,
Dave
foxmeister said:
I think you need to look closely at what is actually consuming the power.
Chances are that you have a rogue app that is stopping the phone from sleeping properly.
You can look at the battery stats in Menu->Settings->Phone Info->Battery Use, as this should give you an idea of what is actually using power. You might also want to download Spare Parts as this will give you easy access to additional menu items related to battery usage (e.g. partial wake usage). You can also get to these by entering *#*#4626#*#* in the dialler (*#*#INFO#*#*), but I find Spare Parts more convenient.
Regards,
Dave
Click to expand...
Click to collapse
Hi Dave, thanx for the code it's great. However you need to correct it from 4626 to 4636 (INFO on keyboard).

Wlan_wake in Better battery stats

Hi all,
So my phone recently started giving me some battery issues that I just cannot for the life of me get resolved. I noticed that under better battery stats, my phone was avoiding deep sleep. Looking at the kernel wake locks shows Wlan_wake with nearly non stop wakes. I've done just about everything. I've wiped totally to stock Blu Kuban, tried different radios, kernels etc. I get these even on a fresh wipe with no apps installed and no sync on. It doesn't seem to be related to any application in particular. If I turn off wifi and just use 3g,the phone goes into deep sleep immediately and stays. The Wlan_wake stops and the wake counter doesn't keep ramping up. The phone once again gets great battery life while sitting idle. This occurs on both of the wifi I use predominantly, home and work. I'm really at my wits end since when I go to bed, my phones battery gets knocked down a good 20-30% in the 7 hours I go to bed. Attached is just a small sampling of what it's doing.
Any thoughts or suggestions?
Sent from my SPH-D710 using XDA
Stop leaving your WiFi on. Either that or install one of the hundreds of battery scripts available that will shut off WiFi when the phone sleeps.
Sent from my SPH-D710 using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1630792
abadasstanker69 said:
Stop leaving your WiFi on. Either that or install one of the hundreds of battery scripts available that will shut off WiFi when the phone sleeps.
Sent from my SPH-D710 using xda app-developers app
Click to expand...
Click to collapse
While I can appreciate people who want to hamstring their phones to save battery life, turning off WiFi is not an option for most people who actually use their phones for grown up things.
Sprint data is horribly unreliable for me... Without WiFi on, I would never be notified of important emails from work, done of which are time sensitive.
It's too bad that ICS has such bad battery life when compared to a similarly configured GB device.
Sent from my SPH-D710 using XDA
Dalmus said:
While I can appreciate people who want to hamstring their phones to save battery life, turning off WiFi is not an option for most people who actually use their phones for grown up things.
Sprint data is horribly unreliable for me... Without WiFi on, I would never be notified of important emails from work, done of which are time sensitive.
It's too bad that ICS has such bad battery life when compared to a similarly configured GB device.
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Well a grown up would solve the problem by calling Sprint and having a free mini tower sent to them so they wouldn't have that problem... just sayin
Sent from my SPH-D710 using xda app-developers app
Is there some specific reason you can't charge your phone while you sleep? It seems like that's the most obvious and easiest solution to your complaint...
I'll take a look at that wifi idle time thread, thanks man.
To the rest, when I suddenly have a glaring issue with my phone, I usually don't include "pretend the problem doesn't exist" as a troubleshooting method. If that's what has to be done, so be it. Charging the phone while sleeping is fine, depending on my schedule/battery level, but that doesn't answer the question of why the battery is absolutely horrific when the phone is doing absolutely nothing. It's not syncing, it's not pulling down data from apps etc. I guess I'm just having trouble coming to terms with the fact that Gingerbread idles, with sync on, about 3-5 percent in an 8 hour period (on blazer) while my ics experiences have been literally 10 times worse. It's hard to just say "oh, ICS battery life just isn't as good", when the disparity is that large.
I want to make sure I'm an exception, not the rule as far as idle drain is concerned.
Sent from my SPH-D710 using XDA
MustWarnothers said:
I'll take a look at that wifi idle time thread, thanks man.
To the rest, when I suddenly have a glaring issue with my phone, I usually don't include "pretend the problem doesn't exist" as a troubleshooting method. If that's what has to be done, so be it. Charging the phone while sleeping is fine, depending on my schedule/battery level, but that doesn't answer the question of why the battery is absolutely horrific when the phone is doing absolutely nothing. It's not syncing, it's not pulling down data from apps etc. I guess I'm just having trouble coming to terms with the fact that Gingerbread idles, with sync on, about 3-5 percent in an 8 hour period (on blazer) while my ics experiences have been literally 10 times worse. It's hard to just say "oh, ICS battery life just isn't as good", when the disparity is that large.
I want to make sure I'm an exception, not the rule as far as idle drain is concerned.
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Since I'm included in the "rest" ill say that I was not suggesting that you ignore it, I was simply suggesting that by charging while you sleep you would remedy the issue for the time being, as there is absolutely no logical reason your phone can't be charging while you sleep... including battery level... im assuming from your post you wait till the battery is low to charge, that is unecessary as Li-Ion batteries do not have a memory, so incremental charging will not damage them, in fact ive read that its actually better for them than full power cycles.... if you want more possible solutions perhaps you should start by following revampers link and using the damn search bar, as there are 10's of ics battery threads, and I'm pretty sure phaker posted a solution to a very similar issue in one of them, as opposed to starting yet another thread about an issue that's been beat to death and replying condesendingly to those who offer you suggestions not entirely to you're liking....also use the thanks button at least for revampers post as you seem to have found at least that useful, its considered common courtesy around here...
Sent from my SPH-D710 using xda app-developers app
Ignore, xda app quoted instead of editing
You weren't included in the rest btw. Forgot to thank v.
The first response was snide to both myself and the other person who replied about slashing off your phones arm when it isn't necessary. I have spent quite a bit of time on this problem, and have done substantial searching with my info I've collected from various apps and logs. Snide non replies get snide responses. It was not aimed at you.
Sent from my SPH-D710 using XDA
http://forum.xda-developers.com/showthread.php?p=28207774
This may help as well, worth a read at least... the script that just modifies wifi_supp_scan or something to that effect.... should be what you're after as I recall that was preventing deep sleep, read through the thread to confirm, I read it about a week ago and dont recall 100%
Sent from my SPH-D710 using xda app-developers app
Appreciated, thank you sir.
Sent from my SPH-D710 using XDA

Htc one x battery dies overnight...battery stats show android os use the most.

Hi,
I have been having a problem of battery.
1. Battery dies from being 100% overnight.
2. Phone randomly shuts itself having more than 40% battery but shows 0 battery when it restarts.
3. Phone restarts quite frequently when taking a picture. (once a week)
Please let me know what should I do to solve the problem. Thanks in advance.
Sent from my HTC One X using xda app-developers app
Could you install BetterBatteryStats from XDA? It's free for XDA members Install it, charge your phone back up, and let this issue happen again. Take a screenshot of Kernel Wakelock and Partial Wakelocks, as well as Process. Would get a much better view of what's eating your battery for breakfast.
Get Better Battery Stats installed.
jph7170 said:
Hi,
I have been having a problem of battery.
1. Battery dies from being 100% overnight.
2. Phone randomly shuts itself having more than 40% battery but shows 0 battery when it restarts.
3. Phone restarts quite frequently when taking a picture. (once a week)
Please let me know what should I do to solve the problem. Thanks in advance.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I've got the same drain problem as your number 1, but not the other 2 issues. The funny thing is it only started a week or so ago, before that it was fine. I've been running the Viper rom, and Faux kernel without a hitch for over a month up until now.
I used to get a day out of the battery, and 2.5-3 hour screen on which was fine IMO, but not anymore.
I'm wondering if a recent app update has caused the issue, just speculating though, also it seems to be that the drain is happening when I'm not using the phone, when I do use the handset for whatever it uses the battery as normal.
Not trying to hijack your thread, just thought I'd give my two pennies worth as I'm having a similar problem.
DrumJ86 said:
I've got the same drain problem as your number 1, but not the other 2 issues. The funny thing is it only started a week or so ago, before that it was fine. I've been running the Viper rom, and Faux kernel without a hitch for over a month up until now.
I used to get a day out of the battery, and 2.5-3 hour screen on which was fine IMO, but not anymore.
I'm wondering if a recent app update has caused the issue, just speculating though, also it seems to be that the drain is happening when I'm not using the phone, when I do use the handset for whatever it uses the battery as normal.
Not trying to hijack your thread, just thought I'd give my two pennies worth as I'm having a similar problem.
Click to expand...
Click to collapse
I think you may be right because I have had the last 2 problems since a while and gave in HTC to repair the phone but it still hasnt been solved and I have got the first problem since the last week itself.
Did you manage to install Better Battery Stats? Leave your screenshots here when it happens again and we'll be able to help you much easier
I had an Arc before, so i thought maybe this will help:
"ALWAYS and I Mean ALWAYS reboot the phone RIGHT AFTER you have disconnected it from the computer or charger to avoid the f*king Android OS issue"
Click to expand...
Click to collapse
by jimbo77 http://forum.xda-developers.com/showthread.php?t=1597771, turn off fastboot when restarting.
You have enough network in your area. I had this issue and change the Network selection to manual which took care of the issue.
ShyamSasi said:
You have enough network in your area. I had this issue and change the Network selection to manual which took care of the issue.
Click to expand...
Click to collapse
I have full network in my area so that shouldnt be the problem.
The problem didnt occur last night...i will post the better battery stats results if the problem arises again!
I'd install other ROM/KERNEL...
Hi
jph7170 said:
Hi,
I have been having a problem of battery.
1. Battery dies from being 100% overnight.
2. Phone randomly shuts itself having more than 40% battery but shows 0 battery when it restarts.
3. Phone restarts quite frequently when taking a picture. (once a week)
Please let me know what should I do to solve the problem. Thanks in advance.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
You seem to have a lot of applications running and something is keeping your phone awake. Any awake time when the screen isn't on also is an application using your phone.
Go to the play store and check the permissions of your downloaded apps, any app that has the permission to keep your device awake is a candidate for your problem. Uninstall them all and your problem should be gone, re-install one by one and see when it returns.
Regards
Phil
The problem occurred again. I have attached a image of the battery stats.
Thanks in advance.
Phil[/QUOTE]
ArmedandDangerous said:
Could you install BetterBatteryStats from XDA? It's free for XDA members Install it, charge your phone back up, and let this issue happen again. Take a screenshot of Kernel Wakelock and Partial Wakelocks, as well as Process. Would get a much better view of what's eating your battery for breakfast.
Click to expand...
Click to collapse
Rusty! said:
Get Better Battery Stats installed.
Click to expand...
Click to collapse
ArmedandDangerous said:
Did you manage to install Better Battery Stats? Leave your screenshots here when it happens again and we'll be able to help you much easier
Click to expand...
Click to collapse
Need a shot of the 'partial wakelocks' category.
Also, don't stick them altogether into one pic, the board shrinks it massively. Just upload them individually
Rusty! said:
Need a shot of the 'partial wakelocks' category.
Also, don't stick them altogether into one pic, the board shrinks it massively. Just upload them individually
Click to expand...
Click to collapse
Here is the individual files
Looks like it's the radio causing the majority of your drain. How is the signal in your location? I see you've switched from EDGE to 3G during the screenshots... if the 3G signal isn't great then it will cause battery drain searching. It might be worth forcing your phone to either 2G or 3G only and seeing what happens.
Rusty! said:
Looks like it's the radio causing the majority of your drain. How is the signal in your location? I see you've switched from EDGE to 3G during the screenshots... if the 3G signal isn't great then it will cause battery drain searching. It might be worth forcing your phone to either 2G or 3G only and seeing what happens.
Click to expand...
Click to collapse
Actually I just switched to 3g in the last couple of days. I only had 2G previously and the problem still occurred. Its funny that it happens only at night.
I think its the time for a fresh start. Format your phone and start all over.
So, how much will it takes you? Less than 3 hours? I'd say go for it.
At lest it would give you less headache and hopefully more battery.
Good Luck
I've had this problem before too, with baseband and alarm wakelocks.
Look here
http://forum.xda-developers.com/showpost.php?p=23893234&postcount=2
Then I think I just googled the offending process and found a solution there

Battery drain

Com.android.phone seems to be waking up my phone ALOT. As you can see in the picture, it is keeping my phone awake. What can be causing this? I have uninstalled apps and factory-reset to no avail!
Sent from my LG-E970 using xda app-developers app
I noticed the same thing. Someone mentioned in the battery life thread that this could be related to fast dormancy. I was able to temporarily stop the alarms counter from incrementing by turning off mobile data and toggling airplane mode. Of course this is only useful if you have wifi available. I'm not sure how it will behave longer term.
I have a Microcell at the house to account for poor reception and I've noticed that when I leave the house it does not always pick up the LTE network and toggling airplane mode fixes that too.
It seems to me that there is a fast dormancy issue at play since the Microcell is 3g only.
From what I am seeing, and correct me if i am wrong, but our devices are lacking fast dormancy. I cannot find it and there is nothing in our build.prop. Again I might be missing it but that is a big problem. If someone has it on there phone can they upload it for those of us who do not? Thanks!
It may not be a dormancy issue, bit this seems to me to be 3g related. In some very brief testing, I didn't see the alarms when I had lte. My workaround for the moment is to keep mobile data turned off when I have WiFi available.
For what it's worth, I've been trying to track this as carefully as I can and the common thread seems to be when the mobile data connection is UMTS. If it is, then the phone process seem to alarm several times per second. I've been on the phone with at&t and LG much of the day. I'm supposed to go and trade my handset for a new one and see if the problem persists. If it does, then at&t says they will escalate with LG for a software fix.
Yeah definitely post if that improves it. If so I will trade mine in as well
Sent from my LG-E970 using xda app-developers app
Check what type of network connection you have. It it's UMTS, then I bet you're also seeing the alarms incrementing. It would be good to have confirmation of my own observations.
When in use, mine is at hspap. Then when usage stops, its switches from hspap to umts then hsdpa
Sent from my LG-E970 using xda app-developers app
Can you tell if the alarms are incrementing when you are in UMTS or HSPAP or both?
That's what I see on mine. It was more obvious since I spend a lot of time on a Microcell which is UMTS only.
Mine is alarming in every mode. I do not have lte here but every mode I previously listed is alarming equally
Sent from my LG-E970 using xda app-developers app
Just thought about this but mine did not start this until I used the koren root method to root my phone.... Going to unroot and see what happens. Sounds crazy but it is plausible
Sent from my LG-E970 using xda app-developers app
Problem is that without root, better battery stats won't show you the alarms.
But if you can tell the difference in the battery usage...
Let me know, I'd rather not have to reconfigure another phone.
Battery is lasting much longer today. Still not great though.
Sent from my LG-E970 using xda app-developers app
I traded my phone this afternoon. I rooted and I'm still getting stuff set up.
As I expected, I'm still seeing the phone process incrementing alarms as viewed in better battery stats.
I'm expecting a call back from level 2 support from AT&T on Monday and I will work with them to put the screws to LG to make sure that this gets fixed.
Hopefully it will be resolved in a timely manner
Sent from my LG-E970 using xda app-developers app
So now I'm bummed out.
LG says that the phone is actively seeking a 4g signal and that is causing the drain. They also say that there is no way to disable 4g to alleviate the issue.
AT&T 2nd level support said that they don't have a way to escalate this issue at all.
So it seems that the choices are to roll the dice and deal with it until the anticipated software update becomes available and see if it gets fixed, or return this phone and get something different.
I haven't decided what to do yet, but I've been looking at the HTC one X+ that started shipping today that already has android 4.1.
Just remember with the one X+ that the tegra 3 is not much faster than the dual core snapdragon so it is a big step down. It was my other choice besides this phone. A lot of research.
Sent from my LG-E970 using xda app-developers app
Yeah...I've been looking around and come to that conclusion. I'm leaning toward waiting for jellybean and hopefully cyanogenmod support.
No, the Catlog shows that phone doing the fast dormancy thing every 2 seconds.
Till this moment (And this phone) i didnt even know such thing exists.
Oh, where is a quote i quoted?
Catlog clearly shows the programming skills of LG engineers
Ah that is what I suspected. I wonder if there is a way to disable it
Sent from my LG-E970 using xda app-developers app

Battery draining faster than usual...

Phone fully charged this morning at 7 am then around 11am went to 59%!!
It wasn't like this before... Not at all.
Help, thank you.
Sent from my HTC One X using xda app-developers app
Harkadenn said:
Phone fully charged this morning at 7 am then around 11am went to 59%!!
It wasn't like this before... Not at all.
Help, thank you.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
First, you could've just wrote this on this thread instead of opening a new one:
http://forum.xda-developers.com/showthread.php?t=1579392
But here you are, may be the mods will join the threads.
and for the "help" you've asked, you must provide some information. Graphs, app usages etc.
also another option, the HOX (like any other HTC I've ever used/seen) can be silly once in a while when it's measuring the battery.
So if this happens very rarely, this can be related to the mesuring faults, but you should still check your power consuming stats.
you can check the default Power Usage statistics int he Settings menu, and for a little more advanced monitoring I can suggest gsam battery monitor.
thekillingroad said:
First, you could've just wrote this on this thread instead of opening a new one:
http://forum.xda-developers.com/showthread.php?t=1579392
But here you are, may be the mods will join the threads.
and for the "help" you've asked, you must provide some information. Graphs, app usages etc.
also another option, the HOX (like any other HTC I've ever used/seen) can be silly once in a while when it's measuring the battery.
So if this happens very rarely, this can be related to the mesuring faults, but you should still check your power consuming stats.
you can check the default Power Usage statistics int he Settings menu, and for a little more advanced monitoring I can suggest gsam battery monitor.
Click to expand...
Click to collapse
Must agree, for all we know the op could have been playing on games and hammering the internet for 4 hours! More info needed dude!!!!
No games and not much use since I'm currently at work.
Ok I will check the gsm battery monitor app. Thank you.
Sent from my HTC One X using xda app-developers app

Categories

Resources