How to modify Data Retention Time? - Windows Mobile Development and Hacking General

Greets.
So, I want to know if it is possible to remove the 72hour Data Retention Time (the one that keeps your data safe even if your battery drain out).
I would love to set that limit by myself. For example, 24 hour would be just enought for me.
We got sprite backup, so everything would be safe, and we would have a lot more battery life (someone talks about 50% more).
So, any way of doing this?

Its to do with the hardware not the software so it would be impossible i think.

Some Ipaqs allows it. By software.

Related

a word abt the batter life of tthe xda , those flags .....

i basically screwed my xda2s ..i mean the registry,..i want to increase my o2's battery life to its full capacity without caring the data loss as i store all my data in my 1gb sd card..but the big question is that why does yur pda leech that battery even when we fu"""ing switch of fthe device...i got some relation with the "flags" in all the power keys in the registry..they all have those specific values..i changed some and got screwed...now what i wanan know is that someone please help me out there ...i just wanna get my pda to give me full battery life..it right now gives me 4 hrs talktime..and works for like 2 days ..but i wanna increse this..i also read that changing to 2g from 3g would help but i have nno ideo watsoevr that xda2s uses this or not..i dunno abt that topic..but what i do know is that there should be no considerably *great* quality loss in the transmission....and thats if the whole thing stans valid...
but whateva be it.. i just need to get my ppc to give me that battery life...
just someone help me out here
1 - The 2s is NOT 3g, so you are already on 2g.
2 - when you turn the device "off", you are putting it into standby. This keeps power going to RAM to prevent dataloss. If the device went off, it would loose all the settings (e.g. a hard reset). The device also needs power to monitor the phone section for activity (incoming calls and messages).
Playing with the registry is unlikely to do much for power consumption, and the onlyu way you are likely to fix you current problem is by doing a hard reset.
For a PDA phone, 4 hrs talk time and 2days is quite good. Remeber, the battery also deteriorates over time (can be helped by discharging completely, then charging overnight, then discharging completely again) and the quoted values are always in "optimal" conditions (full signal etc., a low signal on phone requires more power for the transmitter to function).
You could also increase battery life by turning down the backlight.
Also, is there any chance you could try to type legibly (e.g. fullscentences) and NOT in bold
first of all, yes, you CAN do stuff in the registry that WILL affect power consumption. You can set it so that various components are in specific power rating when in standby/unattended/on... there are 4 different power ratings (1: full on 2: working 3: standby 4: off). However, i can not help you with this, as i have not found out what exactly is going on... Can you tell me what you have found out about it? I hope that the device you are speaking of is similar to the HTC Wizard.
Also, Lithium Ion cells do not really like to be deep cycled (complete discharge)... you do NOT want to drain it. Do NOT discharge it completely. http://en.wikipedia.org/wiki/Li_ion
a low signal on phone requires more power for the transmitter to function
Click to expand...
Click to collapse
The low signal on the phone indicates the strength of the signal that is RECEIVED. It is NOT about the signal that the phone EMITS. Only if the signal is lost, the phone will start transmitting, full power, to try and reestablish a connection. As long as there is even one bar in your indicator, you are ok.
If someone has a better explanation, please, i want to learn more.
As a side note, i much prefer someone who says correct things with wrong spelling to someone who does the opposite.
re:
ok ,thanx wit all the info guys but i still havent been able to figure out what those flag values in the /control/power/states key stand for..as for the various states..there are also some defualt values like 0x1 , 0x2 , 0x3 0,4.
but what i wanna know is that from the 72 hr rule,and the other "suspended mode-battery draining functions" of my pda.. can i reduce this time to abt 12 hrs or maybe even 20 hrs for the sake.
also ythere are certain irrelevant functions that the xda uses its power on even while its suspened..the basic one is the phone function..of course thats neccessary.but what is unnesseccary is the function of ..lets say camera , bluetooth, and wifi.we do not need these functions when our device is off..so what im looking at is that when i switch off my xda ..i specifically want itr to only use power for minimal critical system processes.
im not sure if you know what i mean but hope you catch the right track.
my xda 2 suffers from poor materials. The battery terminals get a patina on them that stops the battery from charging properly. The only solution was to lightly file/scratch their surface every month or so. It only started after the battery got almost a year old.

Recalibrate WM6 For Mugen 3000 mA Battery

I have recently purchased a Mugen 3000 mA battery. I am thrilled with the extended battery life after fully charging and discharging it three times as recommended by the manufacturer. What I find annoying is that WM6 no longer gives accurate information regarding remaining battery strength. If I run the battery down to 2%, remove the battery and restart WM6 says 37%. At 2% I can repeat and WM6 still says 37%. After running down to 2% a third time and repeating WM6 says around 10%. After that it varies a bit but you get the picture.
What I would like to know is if one of you geniuses out there has discovered a registry edit, hack or 3rd party software that will provide accurate battery info so I don't have to be distracted by having my battery say 2% for hours on end or repeatedly remove and restart.
BTW, BatteryStatus Ver. 1.04.200 beta2 build 0173 reports the same incorrect info and so does SPB Mobile Shell 1.5 Home Tab.
Thanks in advance for your informed guidance. OK, that is laying it on a bit thick but I always highly recommend this site to anyone I know interested in really learning how to take full advantage of that little computer in their pocket.
Take a search on XDA for Ariel monitor maybe it solves your problem.
Thanks for the suggestion. It is a nice little program but it suffers from the same problem. I suspect I need to find a way to change the mA capacity WM6 bases it's battery calculations. I don't know if that can be done with a registry edit or if there is a third party battery monitor that has an option to change the battery capacity for calculation of percentage remaining or better yet auto detects the actual battery capacity. Ideally it would be able to both accurately read remaining percentage and make reasonably accurate time remaining estimates based on current and historical battery drain data.
It is like driving a car with a broken gas gage. Sure, you can use the odometer to estimate how much gas you have left but you are always worried your estimate is off and you will be left stranded without a phone ... oops crossed metaphors.
How do the rest of the users with extended batteries handle this irritating situation?
Bump. I can't believe i'm the only one with this problem.
I know this problem also i will wait with buying a high capacy battery until i find such a hack
The Kaiser uses a smartbattery. The battery capacity is based on the information that a small processor inside the battery tells the phone's main processor. There are several things that could be the problem:
1. The small processor in the 3rd party battery is programmed with the old specs for the standard battery. The is nothing you could do about this.
2. The small processor needs to be calibrated. You would do this as follows; set your phone to never turn off no matter how low the battery got. Now, run the phone down until the thing dies from lack of power. Then charge it all the way up. This should fix that issue. I don't recomend doing it many times, because it is not good for Lion batteries to be fully discharged too often.
This is a very valid issue which I have faced many times when using a 3rd party extended battery with other phones.
Not sure how to solve it though, although I have the 3000mah on order myself.
I think the battery reading is given by the battery itself, and most of these 3rd party manufacturers don't really care to put a smart processor in the battery (to reduce costs/make it smaller/etc).
I have the exact same issue and although it is a nuisance, I have found a workaround to keep using the phone. Simply physically removing the battery and replacing it will increase your remaining battery power substantially. I normally wait till the first low battery reminder to do this. Also, how do I set the phone to never turn off no matter how low the battery gets? This would also be fine with me.
utbiglall said:
I have the exact same issue and although it is a nuisance, I have found a workaround to keep using the phone. Simply physically removing the battery and replacing it will increase your remaining battery power substantially. I normally wait till the first low battery reminder to do this. Also, how do I set the phone to never turn off no matter how low the battery gets? This would also be fine with me.
Click to expand...
Click to collapse
I didn't run into this issue until I reflashed my ROM to one with W6.1. Then, rather than get 12-13 hrs with my 3amp battery, I'd get 6. I used my original battery, but when I put the 3amp back in, I still had 47% left.
It's the ROM, and until there's a fix, it would be a pain to pull and replace the battery just to work around. I've done this several times recently when I'm on battery power, but I'd rather not.
Anybody heard of any other fixes, outside monitor, or do we wait until we get a Windows Mobile 6.1 fix?
Still no luck?
Hello,
Has anyone been able to find a solution for this. I am ordering the extended battery today. I will try to fully discharge it and then recharge it as was suggested and report back.
I emailed Mugen. We went back and forth with them trying to troubleshoot whether it's the battery or OS. They were clueless, but did offer an RMA to replace the battery. I pay the postage. Not sure if I'll send it back if it's the OS. I pull and replace the battery right now. It's a real pain, and I hate opening the case so much, but it's the only way I can get an accurate read.
PhoenixAG said:
This is a very valid issue which I have faced many times when using a 3rd party extended battery with other phones.
Not sure how to solve it though, although I have the 3000mah on order myself.
I think the battery reading is given by the battery itself, and most of these 3rd party manufacturers don't really care to put a smart processor in the battery (to reduce costs/make it smaller/etc).
Click to expand...
Click to collapse
The processor is required for these types of lithium ion batteries because it regulates the charging of the battery. If it didn't the battery would not charge properly, or maybe not even charge at all.
There is no solution for now, people from other forums tries to patch battdrvr.dll.
But two things may help a little:
1.You may completely disable battery monitoring
HKLM\Drivers\BuiltIn\Battery rename or remove string battdrvr.dll
But you lost monitoring completely.
2. change HKLM\Drivers\BuiltIn\Battery\Order change value from 15 (in my case) to 0. - After this battery lasts longer until power off.
There is not complete hardware or software solution for this problem. We need to wait.
Low Battery warning:
By default, a PPC will sound a warning sound when the battery is running low (10%, fixed value), but there's no way to disable or change the notification. To enable this, so that it is visible in the "Sounds & Notifications" control panel, set:
HKCU\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408}\Default = "Low battery warning" (REGSZ string, no quotes)
Anybody have any updates on this? I have noticed this more on WM6.1, but it was still an issue on WM6. I just find this so annoying!
Is there any radio that can fix this? I noiced that this battery reading issue only occurs when the Phone Signal is on. When off, it never happens to me. Or it seems. So it has something to do with the radio.
bump, anyone got a solution?
this is very interesting, i bought the seidio 3200 battery i am having the same problems. i just tired the
change HKLM\Drivers\BuiltIn\Battery\Order change value from 15 (in my case) to 0
i am going to see how that works out throughout the day
Tried It
I am having same issue, reset the registry key to "0" and ran for a full day, no change, still incorrect reading. I have a 2700 Mah battery and the charge indicater is completely wrong on it. I have cycled the battery as per reccoemndations, but still get wrong power remaining readings. Can remove the battery and resets itselft to a more correct reading.
I am out of ideas, guess we need someone from HTC to chime in with a hardware fix.
MWS
ms0529 said:
I am having same issue, reset the registry key to "0" and ran for a full day, no change, still incorrect reading. I have a 2700 Mah battery and the charge indicater is completely wrong on it. I have cycled the battery as per reccoemndations, but still get wrong power remaining readings. Can remove the battery and resets itselft to a more correct reading.
I am out of ideas, guess we need someone from HTC to chime in with a hardware fix.
MWS
Click to expand...
Click to collapse
i have tried it too and it still does the same thing. i would still need to pull the battery and restart the device for the batt meter to get a more accurate reading. i could do it about 3 times before the battery dies completely.
is there this problem with all extended batteries or just with the larger ones?
the reason I ask is that I've got a $17 credit at Amazon and was thinking of grabbing a 1600mah battery, it's only like $22 with ship so I'll only pay a few bucks for it really...
I wanted to get the larger one but it's fat and won't fit standard carrying case, but the 1600 is slim and will fit in place a regular battery

Exhausted every effort trying to fix this problem.. ATRIX 4G: new battery time?

I'll post everything I've tried and everything that's gone wrong here.
So initially I purchased this phone off of a friend nearly brand new, the screen had broken and had been replaced. Otherwise the phone is in perfect factory condition.
I unlocked the phone, and am using it on Rogers. APN settings working perfectly.
I installed GOLauncherEX on the phone as Motoblur wasn't doing it for me.
Battery life was crap (lasting hardly 3 hours and dying while I sleep). I found that Motoblur HOME had been running alongside GOLauncherEX. At first I simply uninstalled the third-party launcher, but then opted to grab LauncherPro+ and HomeSwitcher. This dramatically improved battery life.
Lately, I've been having issues once in awhile again. Mostly if I leave the phone unplugged while I'm sleeping (fully charged when unplugged) and we'll use the timeline 3am - 11am. It would either die completely or drop to around 15%.
As long as I could have enough charge to last me through work, I was fine with this as it was way better than what had been happening before.
This morning something extreme and unexplainable happened.. and it's the first time I took a look at the battery usage meter to see what had happened. Picture is below.
If someone could offer some tips or help that would benefit me even the slightest, it would be very much appreciated.
My bad for sneaking a link in, but it was the only way to show the issue.
a8.sphotos.ak.fbcdn.net/hphotos-ak-ash4/s720x720/390662_10150380313609839_506884838_8126371_1297964124_n.jpg
(Remove the space between 1297964 and 124 at the end)
Oh and also, phone is rooted, bloatware is frozen via Titanium Backup Pro.
Have you recalibrated?
WiredPirate said:
Have you recalibrated?
Click to expand...
Click to collapse
Do you have any suggestions as to what to use to calibrate?
I'm not keen on flashing any new roms if that makes a difference.
SL1VR said:
Do you have any suggestions as to what to use to calibrate?
I'm not keen on flashing any new roms if that makes a difference.
Click to expand...
Click to collapse
Calibrating is something you may need to do after flashing a ROM, you can search and find a guide or you can use this app.
I have not flashed any new roms and I don't intend on doing so, but I'll check out the app you posted.
Thanks for your help,
any new ideas are still welcome.
The benefits of battery calibration are not limited to only if you flash a new ROM. Battery calibration should be the first thing you try if you are experiencing battery troubles imo, and there is allot more in depth information in the guides you could search for.
There is one more thing I can think of you can try, download Watchdog and see if there are any malicious or poorly written apps burning up your cpu/battery.
WiredPirate said:
The benefits of battery calibration are not limited to only if you flash a new ROM. Battery calibration should be the first thing you try if you are experiencing battery troubles imo, and there is allot more in depth information in the guides you could search for.
There is one more thing I can think of you can try, download Watchdog and see if there are any malicious or poorly written apps burning up your cpu/battery.
Click to expand...
Click to collapse
Thanks for your help, grabbing Watchdog now.
Maybe unlock the bootloader and flash a custom rom?
Go into account and sync and shut off background data. I was getting. 10-12 hours battery life and now over 30 by just doing that. Worked for a buddy at work too.
Sent from my MB860 using XDA App
Radio is key. After I flashed radio 1.77.30p, my phone can easily using 3 days without freeze anything.
Do not use 1.97 radio and don't use task killers. 2.3.4 gingerbread does a much better job of killing tasks than Froyo did and it's unnecessary. Also, turning off background data is not necessary.
Phalanx7621 said:
Do not use 1.97 radio and don't use task killers. 2.3.4 gingerbread does a much better job of killing tasks than Froyo did and it's unnecessary. Also, turning off background data is not necessary.
Click to expand...
Click to collapse
I would say it is. Apps including google will try and update and locate your phone via 3g and gps when its sitting there idle. Its not necessary if you only install apps that dont use background data, or disable them individually but some dont allow it.
I still was able to get 15 hours with data enabled and over 30 with it disabled. There is a huge difference there. I just have to open my yahoo now to update it which I dont mind.
While I appreciate everyone's replies and help, has anyone actually looked at the picture I posted?
As much as I am most definitely interested in prolonging my battery life, that picture is showing a sudden drop from 70% to completely dead, idling, screen off, while I'm asleep.
SL1VR said:
While I appreciate everyone's replies and help, has anyone actually looked at the picture I posted?
As much as I am most definitely interested in prolonging my battery life, that picture is showing a sudden drop from 70% to completely dead, idling, screen off, while I'm asleep.
Click to expand...
Click to collapse
I would purchase a new battery from Motorola, It looks like your battery has one or more bad cells in it. Only thing that really explains it. Even with everything turned ON as far as data - the battery should not drop that far that fast.
i'm not entirely sure whats going on with the charge level dropping so sharply. Either something is draining your battery big time or the readout when it says 100% is incorrect.
I had issues with the battery up time as well. In my case, the battery wouldnt last more than 8-9 hours. I had to charge it two times a day. Once overnight so its 100% when i go to work and again as soon as i get home. If i charged to 100%, unplugged and went to bed, it would be at 15-20% when i woke up.
The last time i went abroad, i left the radio turned off completely. I noticed that the battery held its charge for about a day and a half.
Now i did root, unlock the BL and install CM7 on my phone. It seemed better but not that much. After i setup the phone to NOT use my 3G data connection while my wifi was on, i noticed that i was getting great battery life when i was at home but still rubbish at work.
I'm doing a test right now to see if this makes a difference or not. I have turned off data on my phone all together this morning. I charged it to 100%. Normally after 6 hours at work, my phone is at about 30-35%
Right now its sitting at 75%
the 3g is whats killing the battery, on my phone anyway. I will see how long the battery lasts without turning on my data at all. Then i will compare that with how its like with background data turned off.
I would suggest you try re-calibrating your phone's battery, i use battery calibration from the market. Then either turn data off altogether like i have or just turn background data off as the others have suggested and see what kind of a difference it makes.
While i realize you dont want to, it may help further to have a ROM like CM7 installed as it wont have all the bloatware that can further reduce the performance of your phone. You should definitely give turning the data off a go to see its the culprit before you go spend money on a new battery which may or may not fix the problem.
Best to isolate the root cause before you spend money on fixing it. If turning off the data doesnt do it, then you very well may have a battery problem.
Routaran said:
i'm not entirely sure whats going on with the charge level dropping so sharply. Either something is draining your battery big time or the readout when it says 100% is incorrect.
I had issues with the battery up time as well. In my case, the battery wouldnt last more than 8-9 hours. I had to charge it two times a day. Once overnight so its 100% when i go to work and again as soon as i get home. If i charged to 100%, unplugged and went to bed, it would be at 15-20% when i woke up.
The last time i went abroad, i left the radio turned off completely. I noticed that the battery held its charge for about a day and a half.
Now i did root, unlock the BL and install CM7 on my phone. It seemed better but not that much. After i setup the phone to NOT use my 3G data connection while my wifi was on, i noticed that i was getting great battery life when i was at home but still rubbish at work.
I'm doing a test right now to see if this makes a difference or not. I have turned off data on my phone all together this morning. I charged it to 100%. Normally after 6 hours at work, my phone is at about 30-35%
Right now its sitting at 75%
the 3g is whats killing the battery, on my phone anyway. I will see how long the battery lasts without turning on my data at all. Then i will compare that with how its like with background data turned off.
I would suggest you try re-calibrating your phone's battery, i use battery calibration from the market. Then either turn data off altogether like i have or just turn background data off as the others have suggested and see what kind of a difference it makes.
While i realize you dont want to, it may help further to have a ROM like CM7 installed as it wont have all the bloatware that can further reduce the performance of your phone. You should definitely give turning the data off a go to see its the culprit before you go spend money on a new battery which may or may not fix the problem.
Best to isolate the root cause before you spend money on fixing it. If turning off the data doesnt do it, then you very well may have a battery problem.
Click to expand...
Click to collapse
I'll definitely try everything you've mentioned, I did calibrate my battery since I first started this topic. I'm not sure if there's a difference, if there is, it isn't noticeable. My phone died last night, and I charged it overnight again so I haven't had a chance to see if what happened the other night will happen again. Soon enough, I'll post details if I notice anything peculiar.
Since you said you bought the phone off a friend I would like to make sure you have the right battery.
The battery "must" be of the following to show the right charge level, otherwise it might appear the battery discharging very quickly.
The part/model no.: SNN5893A
Manufacturing Date: ??/April/2011 or onwards
In regards to the poster above who mentioned shutting off background data, my phone lasts 17-19 hours running CM7 with nothing frozen, background data on, and I record quite a bit of video + pictures every day. I don't use task killers either. So I'm thinking that maybe the background data thing is either actually covering up a radio problem, a carrier issue, previous ROM information leaking through, or a faulty battery as stated above that could possibly need replaced.

Battery Performance after Nougat update - how is it working for you? (Phone Idle...)

Hello!
I updated to 7.0 last Friday and the phone has been acting very well, overall.
But I am having some problems with the battery life. In actuality, it can last 3 days in standby, but I feel like the "Phone Idle" is eating WAY too much battery regardless.
The drain when in standby, for example, should be closer to 1% for 7-8 hours, but for me it is closer to 7-8%, almost 1 % drain per hour in a supposedly sleeping state.
Right now, my stats are as follows, after 1 day and 10 hours (with 1 day 3 hours left):
Screen 30% (2h 23m SoT, 677mAh)
Phone Idle 20% (1d 10h, 459mAh)
Google Play Services 11% (radio active 1h 24m, 246mAh)
Cell Standby 10% (radio active 4m 45s, 234 mAh)
Android OS 6%
Android System 5%
... the rest is some apps with negligible usage.
So, this tells me that something is very wrong with Phone idle. It has consumed almost as much as the screen.
I read a lot about this issue and a large number of reports claim that doing a factory reset does not fix the problem. I am scared to do a reset, since Debloater no longer works in Android 7, and I will not be able to deactivate crap like all facebook services and What's New. So, it's a bit of a no-exit situation... I don't think rooting and using custom roms is a good idea for me, as I would like to retain warranty of my device until it expires. I plan to root and modify it after that.
Still, are any of you experiencing this issue since the Nougat update? Any ideas on how to solve it?
So far, suggestions include:
- removing SD card
- turning adaptive brightness OFF
- turning location accuracy to battery-saving mode
- turning Wi-Fi awake ON (only when charging), or OFF
- going to App settings and selecting 'reset all app settings'
- wipe cache partition by holding power and volume up keys (while phone is on) until you feel 3 vibrations
I've already done these things today (except sd cards, no way I am giving that up) so it's early to say if they helped.
Feel free to use this thread even if you just want to share your problem-free battery experience on android 7 with your Sony Z5C. I am curious to see how does a "perfectly fine" z5c unit perform in terms of battery, on Android 7. What is the "real" expected real-life performance?
Thanks for reading.
The things you suggest are not gonna change too much.
* Resetting app settings or removing your SD card is not gonna do anything at all.
* The location accuracy can make a little difference (let's say 2% at the end of the day) but the problem with location settings isn't HOW it's gonna look for a location, but HOW MANY TIMES. If you want longer idle, location services should be off (in one or another way) when your phone is sleeping.
In my eyes, with the things you have been doing is not worth the hassle.
** With Nougat, you still have the opportunity to extend your battery life a lot with apps like
Doze Settings Editor
My Android Tools
And you'll have to debloat.
I'm still testing these possibilities. But I just got on Nougat today, and with my initial settings, I broke some functionality I need. (Alarm Clock didn't work in deep sleep and I couldn't install WhatsApp). Maybe I get it working the way I want in the next few days or week, but I guess so.
** Having a kernel that allows you to change governors can also make a huge difference. Governors will give you the opportunity to buy (a lot of) battery life and to reduce heat, but you pay with performance.
** One more thing that can make a huge difference, is performing a clean install. So you need to install Nougat (or whatever ROM you use) on a clean system, and install your apps manually.
"I am curious to see how does a "perfectly fine" z5c unit perform in terms of battery, on Android 7. What is the "real" expected real-life performance?"
-->> With these things done and Doze/MyAndroidTools optimized, your phone shouldn't use more than 2-3% overnight. On an optimized MM (with XPosed/Greenify/Amplify) I had to recharge about 2 times a week. Maybe on Nougat it will be a little bit less because there's no XPosed/Amplify, but it should be possible that your battery life will be about three times as long as you have right now.
** If you want a better understanding about battery life, forget about these stats. You won't learn anything from the stats (like you gave us). Instead you can use an app like Better Battery Stats. Especially in (deep) sleep, knowing as much as possible about wakelocks is quite essential.
By the way, you can't call that a "real" expected thing. Battery life is always a compromise, and balanced with performance. Optimization (in the way I'm speaking about) is that much more than limiting performance/apps/widgets while you use your phone, and turning your phone in a dead object as soon as possible when the screen is off.
--jenana-- said:
...
Click to expand...
Click to collapse
Thank you for this response, it's quite elaborate. But I am fully convinced that the Phone Idle issue is not due to ANY of my settings and should not plague a device, even if it is non-rooted. Most of the suggestions you added would require root, or operations that are beyond what I am willing to risk right now. Even the simple root would likely require me to downgrade to 6 and most likely brick my device due to unreliable nature of many of these guides.
I will definitely be trying out the BBS non-root edition as soon as I get home and manage to activate it properly.
But, overall, a stock non-rooted android 7 should not drain as much battery in idle mode. I know that via rooting you can get as close to 0.2% battery drain per hour. But what about no root?
Ultimately, I will root the device at some point when warranty has expired, or is close to, and I will get it to drain extremely slow with xposed and some tweaking. But we shouldn't be required to do this for normal battery life. It's becoming ridiculous at this point.
BTW. Is doing the "Repair" thing from Sony PC Companion equatable to doing a "clean install"? In other words, can I do this without having to actually re-install a rom completely and without rooting the device?
Bobzee said:
Thank you for this response, it's quite elaborate. But I am fully convinced that the Phone Idle issue is not due to ANY of my settings and should not plague a device, even if it is non-rooted. Most of the suggestions you added would require root, or operations that are beyond what I am willing to risk right now. Even the simple root would likely require me to downgrade to 6 and most likely brick my device due to unreliable nature of many of these guides.
I will definitely be trying out the BBS non-root edition as soon as I get home and manage to activate it properly.
But, overall, a stock non-rooted android 7 should not drain as much battery in idle mode. I know that via rooting you can get as close to 0.2% battery drain per hour. But what about no root?
Ultimately, I will root the device at some point when warranty has expired, or is close to, and I will get it to drain extremely slow with xposed and some tweaking. But we shouldn't be required to do this for normal battery life. It's becoming ridiculous at this point.
BTW. Is doing the "Repair" thing from Sony PC Companion equatable to doing a "clean install"? In other words, can I do this without having to actually re-install a rom completely and without rooting the device?
Click to expand...
Click to collapse
Haha, I'm bad in keeping my stories short.
If you're non-rooted, you won't ever get that experience. Not even close. It depends on the apps you're using, but a few messenger-apps (like facebook/fb messenger/whatsapp) + some google apps like maps/calendar/... or weather apps rely heavily on location settings, and they always want to sync or connect with their mothership. To illustrate my point, at a certain point last year I had done some dirty flashes, I had quite some apps and widgets like this installed, but in the end it drained 30% battery overnight. After clean install + debloater it went down to 10% overnight. After heavily tweaking with Amplify/MyAndroidTools/Greenify and so on, it went down to 1% overnight.
Without root, the only thing major thing you can do is: clean install. Almost everything else (with a large enough impact on battery life) is beyond your control. Apparently the choice of developers is to implement smooth and always-up-to-date apps and widget, always ready to serve you the latest news/messages and so on. I agree with you that smartphones these days aren't lean at all. And there are no secret settings that will give you a much better battery life all of a sudden.
I've never used PC Companion. I've no idea what it does or how it works exactly. I don't think it's powerful enough to solve issues with wakelocks.
Literally:
* If you want control over Android, you need to root. Without root: no control whatsoever;
* Clean install = everything out, fresh start. You can't paint your wall without removing your paintings.
Thanks again for the great response. And PC Companion is Sony's default software that comes with their devices and is used to backup/reset/update, etc.
To clarify, I never expected any secret battery options that will solve all my problems. I was rather hoping that it's a well-known problem with a possible non-root solution.
As to rooting, yeah - I would love to do it, but I am afraid your guide won't work for 7.0, would it? I am already using 32.3.A.0.376-R2D. In any case, rooting so soon after buying it (a few months) is not something I am rushing to do.
Also, to add something else - my old Z1, when it was on KitKat 4.4, used to last me 5 days with low usage EASILY. The thing actually drained about 1% per night without having to root it, with the normal stock features and 3G network on all the time. Something just went wrong down the road for many manufacturers and their relationship with the android OS. The battery life became abysmal for me after android 5 and above it.
And then, at work, I have a Nexus 5x on my desk for testing, which lasts 6 days in standby with a battery which is not dramatically bigger, with no root. But it has no SIM card or 3g/4g on at all, only WiFi.
This brings me to believe that you are absolutely right about location services.
And a last question... if I am to root now, from FW 32.3.A.0.376-R2D, what would you say would be the most reliable method? I saw your guide and really liked it, but it seems to require MM to begin with. Seen many other guides, but in each guide there are responses about frozen/bricked devices, or issies with no working camera/finger scanner/etc... It's a bit worrying.
brokich said:
Thanks again for the great response. And PC Companion is Sony's default software that comes with their devices and is used to backup/reset/update, etc.
To clarify, I never expected any secret battery options that will solve all my problems. I was rather hoping that it's a well-known problem with a possible non-root solution.
As to rooting, yeah - I would love to do it, but I am afraid your guide won't work for 7.0, would it? I am already using 32.3.A.0.376-R2D. In any case, rooting so soon after buying it (a few months) is not something I am rushing to do.
Also, to add something else - my old Z1, when it was on KitKat 4.4, used to last me 5 days with low usage EASILY. The thing actually drained about 1% per night without having to root it, with the normal stock features and 3G network on all the time. Something just went wrong down the road for many manufacturers and their relationship with the android OS. The battery life became abysmal for me after android 5 and above it.
And then, at work, I have a Nexus 5x on my desk for testing, which lasts 6 days in standby with a battery which is not dramatically bigger, with no root. But it has no SIM card or 3g/4g on at all, only WiFi.
This brings me to believe that you are absolutely right about location services.
And a last question... if I am to root now, from FW 32.3.A.0.376-R2D, what would you say would be the most reliable method? I saw your guide and really liked it, but it seems to require MM to begin with. Seen many other guides, but in each guide there are responses about frozen/bricked devices, or issies with no working camera/finger scanner/etc... It's a bit worrying.
Click to expand...
Click to collapse
The guide I wrote is actually outdated. I wrote it in the first weeks after MM was released.
IF you want to root, it's actually not that difficult.
0. Prepare your computer, because you need the right drivers and some tools.
1. If it's the first time you unlock your bootloader, you might want to backup your TA-partition. I leave the details to other people, there are great guides about it in this subforum. As far as I know, to do this, you need to go back to marshmellow. I've never done this, because I unlocked my bootloader before there where any tools or any knowledge available about how to do this. So my original TA partition is gone forever (and I've never missed it).
2. Flash Nougat. This is really simple. You only have to download a (large) file, click a few buttons in flashtool, drink a coffee, and it's done.
3. Make a kernel with Rootkernel. It's basically like following a recipe, and in the end you have a file (the kernel) which you can install with the tools on your computer. In this step, you made root access and TWRP-recovery.
4. Reboot
Personally (and I know not everybody will agree), I wouldn't bother with backup of the TA partition. So *I* would just unlock the bootloader and move on. But your first step should be: make yourself familiar with basic adb commands and with how to make and restore a (full) backup. I really don't know why it causes so much problems for some people. It's true, sometimes you run into unexpected behavior. But then you have 2 options. Go back to last TWRP-backup or get your **** together and start from scratch.
By the way, if I was you (with your priorities), I wouldn't upgrade to Nougat. There are much more tools available to optimize marshmallow. Install some of them, get familiar with them, and in a few days you have a reliable and battery-friendly system.
Hm, these are some fair points.
Thanks for that little root guide - but why would you skip backing up the TA partition? Wouldn't that break some core functionalities? At least that's what I've read (cause I did go through most of the root guides for MM in this section).
I guess people have problems because the guides are sometimes incomplete, or people themselves are not following them properly. I would not expect myself to mess-up instructions, and whenever I have problems with guides, it's usually some kind of disparity between my side and their side. Or the guide is wrong, or something is missing. Many things can go wrong, yeah.
It's not that I am not willing to take risks, it's more that I might end up getting the overheat issue at some point - and at that point I would like to use my warranty. If I mess up anything, the warranty will be lost too soon.
Furthermore, I believe Nougat is far superior to MM, and I am willing to wait unofficial development to continue for at least another year. Perhaps in that time the z5c will have stopped receiving official updates, and we can all settle on some rooted, stable and working version of (probably) 7.1 or smth a bit after it, with working Xposed framework as well. At that point I would like to root and truly make the device shine in terms of battery life.
But for now, I'll have to limit myself with a factory reset at MOST.
I am doing an experiment now, after charging the phone completely. Turned location services off, and google services to "battery saving mode". I've turned wi-fi to off and am just going to be using a constant LTE connection. Auto sync is on.
I'd like to see how the phone handles this configuration without further intervention. So far, after 30 minutes post-charge, it's still sitting at 100%. But I'll have to check the overnight drain to verify any actual improvement. In any case, my 100% charged phone predicts 3 days of standby in the battery settings.
edit: looks good after 1 hour (https://drive.google.com/open?id=0Bwg-0GLG0gP9Wmt1ekZCTFNnS3c)
brokich said:
Hm, these are some fair points.
Thanks for that little root guide - but why would you skip backing up the TA partition? Wouldn't that break some core functionalities? At least that's what I've read (cause I did go through most of the root guides for MM in this section).
Click to expand...
Click to collapse
Mwa, yes and no.
Yes 1: By unlocking bootloader you break your TA partition and loose functionality.
Yes 2: If you ever want to go back to a phone which is unrooted and locked with all functionality, you need that backup.
No 1: There are DRM-fixes. Rootkernel (and the entire 2nd or 3rd step in my other comment) will fix DRM-keys too. And about every modified kernel you'll find over here has that DRM-fix + a few tweaks, so you don't have to worry, you won't miss anything.
I guess there are two kind of people. Some people say "You never know if you ever gonna need it, so you would be stupid not to back it up. After you click that button it will be gone. Forever." They are right. Some people say "Why bother, it's too much work, in the end you'll loose that backup, and actually you won't ever use it. And if it doesn't go smooth, it will give you unnecessary stress". They are right too. I'm in the second group. And I don't want to convince you that what I say is anything better than what others say, I'm just explaining my view...
Also, a lot of tools we use to experiment and tweak the sh#t out of our Z5C are highly experimental and not debugged. I don't care because partially it's a fun way to play around with it and I don't rely on my phone. If it doesn't work tonight, I'll find a way to make it work tomorrow. Again, that's my view...
By the way, I had to send my phone back to sony with a problem (unrelated hardware issue), and my warranty wasn't void.
Ha, that's very interesting. Perhaps they didn't bother to check for root at all, or they did and did not care. Maybe it's really hit and miss...
Overall, I am not extremely worried about it, as the device has actually been acting good so far, with no sign of hardware problems.
Also, I am not really going to gain that much by rooting Android 7, and I have no desire to have to stay on 6. When Xposed is well-developed and reliable on nougat, I'll probably go through the most promising method I can find and do the modifications that are required.
And yeah, I get your point about having fun, and I agree completely. But this device is important to me and I can't really risk it at the moment.
Anyways, the device is at 98% after 3 hours + of idle, which doesn't look too bad. I think perhaps adding the Greenify app might improve it a bit more, making it quite strong as a result, without the need of any root.
On more thing. Actually battery life on Nougat seems to excellent.
I did 4 things (not much work):
1) Edit doze settings more aggressively Doze Settings Editor, with the built-in "GeraldRudi"-preset. It should work on non-root too, but with slightly less aggressive settings.
2) Greenify, of course without the XPosed settings, and without aggressive doze. I think this didn't have any impact on battery performance/deep sleep, because Doze Settings was much more aggressive.
3) Tasker-module to put auto-sync off at night.
4) Kernel Adiutor to set governor to interactive. Obviously at night there was about no load on the CPU at all, but I did it to reduce heat.
All the rest is pretty standard. A lot of Google Apps are installed, messengers (FB messenger, WhatsApp) and social media, I even have a weather widget installed; all working normally.
Overnight it didn't use any power: 0,0% drain per hour; 0% over a 10h period of time. -->> battery stats
That's insane!!!! Big ups
I will absolutely try the Doze editor.
Sadly, no tasker with no root, but I might as well turn off auto-sync manually at night.
The kernel editor, I'm guessing, is also off-limits for me with no root.
What I did was to just turn off location and use greenify. My current idle draw is 0.66%.
But your is perfect. That's exactly what I want to achieve. Close to 0% draw when idle. That's how it should be.
Do you think it will be possible to achieve similar results with just the doze settings from step 1? (+turning auto sync off at night)
Bobzee said:
That's insane!!!! Big ups
I will absolutely try the Doze editor.
Sadly, no tasker with no root, but I might as well turn off auto-sync manually at night.
The kernel editor, I'm guessing, is also off-limits for me with no root.
What I did was to just turn off location and use greenify. My current idle draw is 0.66%.
But your is perfect. That's exactly what I want to achieve. Close to 0% draw when idle. That's how it should be.
Do you think it will be possible to achieve similar results with just the doze settings from step 1? (+turning auto sync off at night)
Click to expand...
Click to collapse
Your idle time doesn't look bad at all. Without something like that Better Battery Stats it's hard to guess if some apps use CPU/power/... or cause unnecessary wakelocks, but if you use 6-7% over 10h idle time, it's not that bad.
As far as I know, changing governor without root is a no-go. Not possible, only the system has the right permissions. By the way, this should affect idle time that much, it mostly affects your phone while you use it.
Doze Editor should make a difference, because it speeds up the time after you turn off your device to put it in deep sleep. Out-of-the-box, that takes a long time (I don't know how long, but it's suggested to be about 30 minutes). Standard settings in Doze Editor, which you can use with adb and without root, bring that back to 3 minutes. It's fully explained in that Doze Settings-thread.
Thanks for the info
I tried Greenify since last night and it seemed to actually slow my device down. I could literally sense lag in the OS and nothing else could explain it. There was also a delay with every hit of the power button before the screen comes on. This, to me, was more bad than good, so I uninstalled this app. Perhaps it truly is a bit useless, or even detrimental to performance without root.
These Doze settings is what I will be trying out tonight, but I fear it might be a similar story to Greenify and not help me much without having root, or even potentially slow the device down?
Furthermore, I uninstalled all Google Play services updates and re-installed it. It used to take ~450mb of space, now it's back to ~150mb.
Hopefully, this will improve the Google services battery drain, because right now it is on the top of the list:
79% battery left, 2d 16h remaining:
25% google play services
15% phone idle
15% screen
12% cell standby
So, play services is still hogging too much battery, even with location off.
I re-installed it, so I have yet to see if this has any positive effect.
Z4 tablet problem too
I'm getting high battery drain on idle on my Z4 tablet, haven't attempted any fix yet.
My experience is a very big battery drain even if a clean install. I used MyAndroidTools to stop all unnecessary Google Play Services , with Kernel Audiutor I selected interactive governor CPU, with Doze I used GeraldRudi presetting. Switching off LTE, wifi, bluetooth and data , in less than 3 hours I loose 30% of battery, can not arrive to evening with a charge. I am back on 6.0.1 and I am able to recharge my Z5C every two days !
alpadolmeri said:
My experience is a very big battery drain even if a clean install. I used MyAndroidTools to stop all unnecessary Google Play Services , with Kernel Audiutor I selected interactive governor CPU, with Doze I used GeraldRudi presetting. Switching off LTE, wifi, bluetooth and data , in less than 3 hours I loose 30% of battery, can not arrive to evening with a charge. I am back on 6.0.1 and I am able to recharge my Z5C every two days !
Click to expand...
Click to collapse
That definitely sounds like you have one of those problematic units, with overheating and extreme battery drain, or perhaps it was due to a bug in the 7.0 ROM you used.
I am still able to get 2 days of my phone with 7.0 and no root, but that to me seems very unsatisfactory. Such a battery should easily last you a week with a single charge with LTE on, if you keep it idle most of the time. In my case, that's up to 3 days. If you see jenana's battery stats, it is possible to achieve almost 0.0% drain per hour at the cost of some performance. In those conditions, with ULTRA stamina on, your phone should last about a full month in idle mode with active network signal reception during that full period of time (but not LTE and other extras).
6.0.1 should be even better due to the Xposed framework, but I don't think that more than a month is a realistic with any OS and the current batteries.
Surely, 2 days is ridiculous. I don't use my phone much some days and the drain seems to be flat. It should be ALMOST 0% per hour. I assure you, even auto-syncing should be fully usable at all times without any kind of insane battery drain.
roycol said:
I'm getting high battery drain on idle on my Z4 tablet, haven't attempted any fix yet.
Click to expand...
Click to collapse
Seems I am in the same boat as you I really was enjoying Nougat, but I cannot live with half a day of charge. Last thing to try unrooted nougat and phh's superuser. Maybe this can resolve the massive drain. It is sad, really. I will report back with my findings...
I would appreciate any hint on to overcome this issue.
Cheers everyone!
Poor for me. I can get a day's worth out with about 3 to 4 hrs SOT but usually now my battery is less than 10% when I put it on charge. Marshmallow I was easily getting 4hrs SOT and down around 20 to 30% battery left. I love nougat but battery life is really poor. I have a mate who had x compact and 2 hrs SOT only uses about 25% battery. I just don't get it, so must be Sony with a poor ROM and not tested correctly or nougat not designed for this phone.
Sent from my E5823 using Tapatalk
Hey, I can not understand it when people say the battery runs better than never before. I updated to 32.3.A.0.378, Sony has put the CPU on the best performance "performance". So with me runs the Z5C on the settings max. 10 hours. In the plaintext, I need root to convert this as it did at Marshmallow "interactive".
For everybody that experiences battery drain and heat problems: try rooting the phone with phh superuser instead of superSu. I couldn't get through a single day with superSu. Now, the phone is cool and endurance of battery is back to normal.
Sent from my E5823 using XDA Free mobile app

Standby time in nougut

In nougut i get 1 day 5 hours standby time with 2 hours of screen on time. I don't remember about time in marshmallow but i used to get much more standby time. (Both with wave to wake and other features on except moto voice)
And my cell standby and phone idle usage it very high with nougut. Even if i start using it after full charge without turning screen off even then it shows phone idle usage high.
Can anyone tell me whats the problem?
Is nougut uses much more power in cell radio than marshmallow?
And does nougut uses much more power for wave to wake and other features of moto?
Just to clarify a few things: when did you apply the update? It takes some time to "settle". Did you try a factory reset? This has been known to fix issues. Just asking to determine the troubleshooting you may have already tried
Factory reset and then recalibrate the battery sensor.
I have the same issue, you probably live in area with poor 4g/3g coverage and radio in nougat is way less efficient in low signal situations.
btw to the previous guys, do you have 7.0 update? if not then don't know what are you talking about. Factory reset or some "settiling" jokes won't fix this.
I left mine at 40% last night and woke up to 40%. XT1575 but EU Nougat backup restore.
iks8 said:
I have the same issue, you probably live in area with poor 4g/3g coverage and radio in nougat is way less efficient in low signal situations.
btw to the previous guys, do you have 7.0 update? if not then don't know what are you talking about. Factory reset or some
"settiling" jokes won't fix this.
Click to expand...
Click to collapse
There is this issue. It is one thing that matters me hesitant on taking the update.
But as far as factory reset, it is a good place to always start. I use the term "settle" in quotes for good reasons. Aside from the fact that a user might play around a little more to discover new features, it might take a moment for battery to report correctly. Not really a big thing anymore with modern tech and batteries, but just in case...
I find the biggest thing you can do when going up a version is factory reset and do not let Google restore your apps and data. Hand install what you want and set them up manually. Funky app data is the cause of more standby power use than anything else as apps hold wakelocks when they shouldn't .
Simply uninstalling apps doesn't always fix this as the data gets restored when you reinstall. To me blowing everything away and starting fresh is the best plan on a major update.
Wave to wake in Nougat is a battery killer..
Anyway, maybe you want to check this guide:
https://forum.xda-developers.com/mo...ide-improve-battery-life-performance-t3647155
Take into account that battery stats are buggy, for me everytime I restart my device is a different %. Today i turn it on at 99%, restart it an get 87%, so i keep charging it.

Categories

Resources