Related
Ok people, you asked for it. I hope this helps!
Maximizing your Battery on your Android Device [and/or HD2]via Calibration and a little bit of common SENSE.
WARNING: DO NOT FLAME, CRITICIZE OR MAKE FUN OF SOMEONE WHO NEEDS HELP. IF ANY OF THIS GOES ON IN THIS THREAD, YOU AND YOUR POST WILL BE REPORTED. I'M SICK AND TIRED OF NERDS HAVING HISSY FITS LIKE RUDE CHILDREN. LEAVE YOUR PROBLEMS OUT OF THIS THREAD. Thanks <3
..::I AM NO WAY RESPONSIBLE FOR YOU SCREWING UP YOUR PHONE, BATTERY, OR LIFE. READ THIS CAREFULLY. FOLLOW DIRECTIONS. USE YOUR BRAIN, PEOPLE!!!::..
Intro: So, as we all know, the HD2 running NAND [and apparently, WinMo6.5] has troubles reporting REAL battery life and battery drain. This guide is for those of you who want the most out of your battery--stock or extended--doesn't matter. This applies to all other phones running Android as well, as the steps I am giving and explaining below can be executed using Terminal Emulator.
When Should You Do This Process:
1.) Getting a New Battery [doesn't matter if it's the same voltage or not, if you put a new battery in your device, FOLLOW THIS GUIDE!!]
Why: The .bin file stored in your phone's system displays battery for one battery. Thus, if you ever change batteries, you NEED to update the .bin file, or else your phone will not display the correct battery readings--prematurely shutting off your device and/or draining battery when the phone says that you are at 50%.
2.) Switching Roms
Why: Every time you wipe your phone's system data, the .bin file gets replaced with a GENERIC file that could or could not apply to your battery. You want the .bin file to be up to date.
3.) Once a Month
Why: This should be part of a monthly routine, to get the most out of your battery. If you flash more than one rom a month, this does not apply to you, as you should be recalibrating your battery whenever you flash a new rom for accurate battery readings [and a potential increase in your phone's daily battery life].
What You Need:
-a rooted phone
-superuser
-busybox
-Terminal Emulator [which can be downloaded from the market]
-Set CPU [which is available to XDA members for free, can be purchased from the market as well]
-Spare Parts
-any sort of automatic task killer
-phone charger
**The method I am using involves using Terminal Emulator installed on your Android device. You can also execute this using adb commands on your computer, assuming that you know how to do it. For those of you that are inexperienced and/or want to save time, read on...
Walkthrough:
..::I AM NO WAY RESPONSIBLE FOR YOU SCREWING UP YOUR PHONE, BATTERY, OR LIFE. READ THIS CAREFULLY. FOLLOW DIRECTIONS. USE YOUR BRAIN, PEOPLE!!!::..
1.) Plug in your device in overnight. Your phone needs to be ON and fully functional [this especially applies to HD2 users, as MAGDLR will not reboot if phone is plugged in--it's a weird glitch]. Turn on Airplane mode if you must. [Keep it plugged in between 8 and 10 hours.]
2.) Turn off your phone.
3.) Just in case, plug in your phone for 10 more minutes [just to make sure it's completely charged @ 100%.
4.) Unplug your phone. Immediately pull out the battery, then put it back in. Press the power button. Plug your phone back in.
5.) Open Terminal Emulator. Type in the code below.
su
[press enter]
rm data/system/batterystats.bin
[press enter again]
Click to expand...
Click to collapse
6.) Deplete your phone as necessary. Once your phone automatically shuts off, turn your phone on again. Hopefully, your phone automatically shuts off as it's booting back up, or it shuts off once it brings you to your lockscreen. Repeat 2 or 3 more times.
You have now recalibrated your battery!
My Notes:
I bought a 2400mAh extended battery for my HD2, which is roughly TWICE the size of a normal HD2 battery. Yes, it is to be expected that my phone should NATURALLY last longer than stock, but read on to see the effects of recalibrating the battery.
Also, I have SET Cpu located on my SD card somewhere [I should really look for it and install it], and I am absolutely positive that if I had it installed, set with an interactive governor, the data below should be a LOT different.
Memory intensive applications:
-Zenonia 2
-Stumbleupon
-MIUI Music
-Swiftkey Beta [along with the other modules and crap I had to download]
-Miren Browser
-Tweetdeck [2 columns set up at 15 min intervals, one at 30 mins]
-Current Widget
-XDA app [obviously XD]
Power-saving settings:
Wifi--On [from 8am-11am]
GPS--Off
Bluetooth--Off
Normal Static Wallpaper [as in a picture, not a live wallpaper]
Brightness--0% [which is STILL too bright, but whatever]
3G--when available, I had Edge from 2:30-8:30 [which inevitably drains my battery more than 3G for some weird reason]
Auto-Task Killer
My Data:
Tested using "memory intensive applications" [see above for full list] and power-saving settings ["again, see above"]. I am running FutureShock's MIUI 2.2.1. Your results WILL vary from mine, based on what rom you are running, your phone, your battery, your running apps, etc etc etc. I am also NOT running Set CPU. I will be conducting another test soon using Set CPU, just to see what results I get. I suggest you run Set CPU, you could potentially double the uptime of your phone.
Time------Percent of Battery [See notes at bottom of this chart, since a few of the percents have been changed to THIS COLOR with two ** after them]
8:00 am ----- 100%
8:30 am ----- 80%
9:00 am ----- 98%**
9:24 am ----- 93%
10:36 am ----- 81%
10:37 am ----- 91%**
11:05 am ----- 85%
11:30 am ----- 81%
12pm [noon] ----- 81%
1:03 pm ----- 77%
2:07 pm ----- 67%
2:10 pm ----- 77%**
2:34 pm ----- 73%
3:00 pm ----- 72%
3:35 pm ----- 68%
4:01 pm ----- 64%
4:31 pm ----- 59%
5:13 pm ----- 55%
5:16 pm ----- 63%**
6:00 pm ----- 57%
6:53 pm ----- 48%
6:57 pm ----- 56%**
7:30 pm ----- 50%
8:00 pm ----- 51% ?!?!?!?!
9:45 pm ----- 38%
10:22 pm ---- 37%
Notes
Random Percent%**
This means that I removed the battery [battery pull], then rebooted the phone. Apparently, the battery readings are VERY inaccurate, being off by as much as 18%.
I have no idea why my battery went up 1% between 7:30 and 8:00. So please don't ask.
Conclusions:
Due to the fact that [apparently] my battery was being inaccurately read, random battery pulls were required to get up-to-date battery readings. I am not sure if this is an HD2 issue, or an overall Android issue when recalibrating your battery after removing the previous .bin file. IF YOU WOULD LIKE TO FURTHER THIS DISCUSSION, I WOULD LOVE MORE DATA FROM OTHER PHONES--HD2 OR NOT.
My battery is STILL running strong. Nothing incredibly drastic at all. I'm surprised that the data turned out like this.
Quick Tips:
1.) If your battery seems to be running low after clearing the stats. Check your battery's actual percent USING SPARE PARTS, then do a battery pull. See what your battery displays when you reboot.
2.) Check Spare Parts to see if your battery is being calibrated. If your battery is 3.7V, and Spare Parts says that your battery's voltage is 2.0V, then delete your battery stats again. Anything above or below .5V from your actual battery's voltage is normal error.
Q & A:
Q: I have a [insert Android phone here] running [insert ROM here]. Does this guide/walkthrough work for me?
A: YES! Go ahead!
Q: I typed in the code you said, and it said "Read/Write Permissions Denied". What's wrong?
A: Your phone is not rooted OR you don't have Superuser installed OR you don't have Busybox enabled.
Q: I have a question, but it's not on here!
A: Send me a PM with your question, and post it in this thread.
Q: I have data from testing this method with my phone running [insert rom here]. Can I send you the data via PM and/or post it in this thread?
A: PLEASE. The more data I receive from other users trying this out, the more accurate I can make this guide. Send me everything!
Q: Can I follow you on Twitter?
A: Sure. Why not. @GoCkillaz
data/system/batterystats.bin
GoCkillaz said:
Hey, I bought an extended battery for my HD2, and I want to wipe the battery stats so my phone reports accurate battery usage.
Where is the .bin file located?
Sent from my phone-containing Chinese software that puts us Americans to shame.
Click to expand...
Click to collapse
Tell us if it works when done.
lms1407 said:
Tell us if it works when done.
Click to expand...
Click to collapse
I found an alternate method. Battery calibration.
1.) Completely drain battery, so the phone shuts off automatically.
2.) Turn on phone again, which should automatically shut off after first boot screen.
3.) Plug in to charger for 8+ hours. Plugging it in overnight will work as well.
Sent from my phone-containing Chinese software that puts us Americans to shame.
GoCkillaz said:
I found an alternate method. Battery calibration.
1.) Completely drain battery, so the phone shuts off automatically.
2.) Turn on phone again, which should automatically shut off after first boot screen.
3.) Plug in to charger for 8+ hours. Plugging it in overnight will work as well.
Sent from my phone-containing Chinese software that puts us Americans to shame.
Click to expand...
Click to collapse
OK, the only problem is that after Magldr no one is able to get accurate charging with phone off.
It charges up to 98 - 99% but never 100%, so this method is not realy working.
This i was doing since the early days of winmo phones, now it's Nandroid with its problems...
lms1407 said:
OK, the only problem is that after Magldr no one is able to get accurate charging with phone off.
It charges up to 98 - 99% but never 100%, so this method is not realy working.
This i was doing since the early days of winmo phones, now it's Nandroid with its problems...
Click to expand...
Click to collapse
I'm recalibrating my phone tonight. I'm running every single battery wasting process I can.
Waiting for your update, dude!
Update #1
I will have update by tomorrow night. My extended battery kept my phone at 1% for close to 90 mins until I gave up and did some more research. Sorry for keeping you all waiting.
I will be using this method below. If it works significantly, I will edit the first post. Ok?
For future reference:
1. Charge to 100 % with phone turned ON.
2. Shut down the phone.
3. Charge for 10 more minutes.
4. Unplug.
5. Remove then reinsert battery.
6. Turn on phone.
7. Plug phone in.
8. Delete data/system/batterystats.bin
THE CODE IS:
su
[press enter]
rm data/system/batterystats.bin
[press enter again]
9. Deplete the battery with movies, wifi, bluetooth, auto synch, max brightness, GPS, and random programs.
10. Let phone die. Turn on again, wait til phone dies on it's own. Repeat 2x.
11. Plug in, charge to 100%.
See you all tomorrow at around this time.
For those of you wondering, the method I tried works. I suggest you subscribe to this thread so you all know when I update this. I'm currently recording all my notes. First post will be revamped tonight with an informative guide and my data. Let me know if you guys want anything specific in the first post.
Sent from my phone-containing Chinese software that puts us Americans to shame.
Attention people. I posted the guide in the first post. Please let me know how this works for you!!! :d
coolfire said:
Waiting for your update, dude!
Click to expand...
Click to collapse
Check first post. That's my update.
Personally I don't think this is relavent at all. My phone charges normally and uses normal battery. I get almost two full days on a battery with a NAND build. I calibrate by charging to 100% turn phone off turn back on charge to 100% turn off and back on this works fine for me...
akapaul26 said:
Personally I don't think this is relavent at all. My phone charges normally and uses normal battery. I get almost two full days on a battery with a NAND build. I calibrate by charging to 100% turn phone off turn back on charge to 100% turn off and back on this works fine for me...
Click to expand...
Click to collapse
That works too, lol.
can NAND charge a battery when it's dead? I heard some problem with charging in NAND/MAGLDR
Have anyone solved battery charge problem in all android nand version for HD2? My HD2 doesn't start when i charge battery in off mode. Orange led do not turn green and phone doesn't start. Only way is soft reset with internal red button. I can charge it in standby mode. Then, led charge becomes green.
How you doing?
Thanks
What build are you using to get 2 days of battery life? On NAND, all i have tried so far was the stock Dec 30th DFT Desire rom. But battery life, even when calibrating, was not very good. With moderate use it would deplete within 24hrs. Now with WP7 my battery does last 2 days, same usage patterns. Did more recent roms fix things? I am well aware of SetCPU, interactive and smartass governors and so on, neither really gave me satisfactory battery life .
dan138zig said:
can NAND charge a battery when it's dead? I heard some problem with charging in NAND/MAGLDR
Click to expand...
Click to collapse
Im wondering the same as i remember reading it somewhere (cant charge the phone with MAGLDR if the phone is not turned on). If batt is depleted and i cant power on the phone - its a disaster right? I dont have a spare batt or external batt charger.
Anyone, please shed some light on this. Thanks!
I was thinking about buying an extended version but if I look at your uptime :O :O
My phone lasts for 51 - 54 hrs. damn, and I actually use it
I tought an extended batt would extend time but it seems the other way around
tidus18 said:
Im wondering the same as i remember reading it somewhere (cant charge the phone with MAGLDR if the phone is not turned on). If batt is depleted and i cant power on the phone - its a disaster right? I dont have a spare batt or external batt charger.
Anyone, please shed some light on this. Thanks!
Click to expand...
Click to collapse
hmmzz, I wouldn't try it but I get this strange feeling that something goes wrong when the phone is shut down. because when I pull the plug, my orange led STAYS awake my phone is so happy it's charged on air, maybe my phone is high or something but if that's not the case it's clear that some errors are to be solved.
to be clear: when u want to test it shut down your phone when you got 80% or so, put it 10 minutes at the charger, boot and see for yourself!
HectiQ said:
I was thinking about buying an extended version but if I look at your uptime :O :O
My phone lasts for 51 - 54 hrs. damn, and I actually use it
I tought an extended batt would extend time but it seems the other way around
Click to expand...
Click to collapse
What are you doing to get your battery to last that long? If thats stock, then im obviously doing something wrong.
Sent from my phone-containing Chinese software that puts us Americans to shame.
after updating my note 4 with 6.0.1 , i flashed it with odin and made factory reset , then i noticed that when phone reachs 15% , mobile network disappear !! there is no network untill i connect the charger , also battery goes from 15 % to 0% totally very very fast !!
network lag showed in attachment
does anyone face same problem?
try battery recalibration
---------- Post added at 06:03 PM ---------- Previous post was at 05:27 PM ----------
try a battery re-calibration
Hi there,
I have a problem like yours. But, I lose signal from carrier between 40 and 50 percent of battery and then my note4 shutdown. When It restarts I have 0% battery.
If I pull out the battery, wait a few minutes then put it back and power on the device, I will find that I have like a 30% percent of battery. But It will drop quickly.
I continuously do a battery recalibration using *#0228* on dial pad with no fix. I have already replace the battery with a new one. Same results.
Some body told me it was a problem with my logical board. Does any one knows how can I make test to this logical board?
If you have another tip I will apreciate your comments.
TIA
I got the phone on the day it was released. It had PB5 firmware when I got it and I (regrettably) updated to PC5 when that came out. I haven't done any firmware updates since then. Up until today, I have had no issues with the phone whatsoever. This morning when I woke up, I noticed that it was a bit laggy when typing and switching between apps. I powered down, booted up in recovery, wiped cache and booted it up. It sat on my charger fully charged while I took a shower then I took it to work. I put the phone on my desk where it sat for an hour without me touching it. When I finally picked it up, it was warm to the touch and the battery was down to 72%. I haven't installed/uninstalled any new software, my cell signal at work is pretty good (3/4 bars), GPS was off, WiFi was off (no WiFi at work) bluetooth off, NFC off, I didn't get an excess of notifications, etc etc... I checked the battery stats, Android System was showing 42%, Android OS was the next one at 12%. I haven't had a reason to check those numbers before so I don't know if that's normal or not.
Any ideas as to why this started happening all of a sudden? I used to get 2 days on it with light usage and a full day with moderate usage. At this rate, I'd get about 4 hours out of it with no usage. I don't want to have to do a factory wipe but at this point I don't know what else I can do/try.
I've got a similar issue, starting today. Warm, up to 90C according to Aida64. Battery discharging quickly. Just plugged it in and saw a message I've never seen before about weak charging and battery discharging faster than it was charging. Suddenly very laggy with sounds, typing, apps.
No indication of the cause, and I've tried everything except factory reset. Rebooted several times, removed case, wiped cache from recovery, checked running apps, checked battery usage stats, etc.
---------- Post added at 11:16 PM ---------- Previous post was at 11:05 PM ----------
Check this out: https://www.reddit.com/r/GalaxyS7/comments/55280e/overheating_and_draining_battery/
---------- Post added at 11:23 PM ---------- Previous post was at 11:16 PM ----------
More info ... https://forums.oculus.com/community/discussion/43305/gear-vr-oculus-update-causing-high-cpu-usage
Final update: removing Oculus fixed it for me. Supposedly they have pushed out a fix, but I''m not in a hurry to install it after this fiasco.
Yea, that was it.
Thank god it was a nice easy fix and not a hardware issue like I was thinking.
I got the update for it last night and since then my phone has been icy cold to the touch.
I'm afraid to open the app to look, but does anyone know if there is there a way to turn off the auto updates in Oculus?
Thank God im stil on OG initial firmware. Full access to everything hotspot apns etc
And you can also use package disabler pro 1.99 and disable any app or system app you choose. Im still pulling 50 hours easy on one charge but i do disable oculus when not in use
Sent from my SM-G935P using XDA-Developers mobile app
Any info about the latest firmware update 34.2.A.0.292 ? I can't install it, keeps giving error. Need to give a clean install but have lots of things to back up.
Has anyone installed it yet?
I have installed. When i have battery around %20 it didnt install. Than i plug charger and tried again and it worked. If i remember right, the selfie timer wasn't here before update. And January 2017 security patches.. These are the things i see until now
so it is still v.7.0?
thanks.
Yep, still 7.0.
Do you guys have an unusually high battery drain by "Phone Idle" in Nougat? It looks like on the attachement. Phone Idle sits on top. I unplugged the phone about 7 hours ago and SOT is 1h43min.
I got the same problem. High phone idle stats. Maybe it's just a new stat of nougat.
Micka84 said:
I got the same problem. High phone idle stats. Maybe it's just a new stat of nougat.
Click to expand...
Click to collapse
Interestingly, Gsam Battery doesn't register the Phone Idle drain at all.
Battery Stats Comparison after 7 hours unplugged and 1h 50min SOT:
Gsam Battery Monitor: 1) Screen 47% 2) App Usage 32.4% 3) Wifi Active 13% - I have to mention that Gsam can't register individual App Battery consumption without root
X Compact Battery Stat: 1) Phone Idle 23% 2) Screen 18% 3) Android OS 11%
---------- Post added at 03:59 PM ---------- Previous post was at 03:44 PM ----------
I wonder if the update 34.2.A.0.273 => 34.2.A.0.292 fixes the Phone Idle battery drain
Since I'm on 292 I can tell you that the last update didn't fix that issue.
Thanks! I am going back to MM until there is a fix, either by Sony or by rooting.
I am still evaluating the other partitions from the Nougat update, but I wanted to get this out there ASAP. It is the RPM partition (Resource and Power Management).
I flashed this last night, and I only lost 1% battery overnight. Prior to this, I was losing 10%+. I wanted to do some more exhaustive tests before posting this, but that alone made me decide to go ahead.
If we end up finding out that there is some other downside, I will release a revert.zip to go back to the way we are currently.
In case you didn't understand, this is ONLY for people that flashed to Nougat using the manual method, or the v30b_update.zip method.
If you flash this and you are still on MM, I have no idea what it will do to your phone.
After flashing, please post your power results in this thread if you don't mind. It should go without saying that if your phone starts eating your shirt or something, please post that ASAP so I can get the revert out
Download here
If you get worse battery life, then you can revert with this zip: revert.zip.
-- Brian
Bless you fam!
Installing now, and will report back o7
You should add this to your boot/system img thread!
My battery is draining super quick after the flash. Even with charger plugged in it drains the battery. Please help
@popwar revert.zip posted. What method did you use to upgrade to Nougat? Also, what were you running prior to the upgrade?
I am baffled. I still have 95% battery life, and my phone was taken off the charger 9 hours ago. Granted, this is just "normal" usage, phone calls / some light browsing / etc, but on MM (or Nougat with the MM RPM) I would be at ~60% or less already -- and that was with Greenify.
Would love to know why you are getting such bad battery life.
-- Brian
I was on stock MM. I used the twrp method to flash nougat. I flashed the revert zip and it still wont charge using my 2.4 amp car charger where i had no issues charging before. Have yet to use quick charge since the flash.
I can report my battery life is dropping more than usual too after flashing. I was on eliminaters v20l rom and i just flashed the update.zip
Prob have to flash nougat again to fix it for now
It is possible that the numbers just aren't updating correctly. I charged overnight and went from 72% to 77% without this update. It might just be that it is actually going up and down much more than that but just not reporting it correctly with 7.0
Like a new phone, I think it is best to wait a couple full cycles, before coming up with a verdict for those who are receiving poor battery life and letting the phone recalibrate with the new power management partition.
I am testing screen on time right now. I have set my screen to not turn off and cranked the brightness to the max. I am not going by percentage, but time. How long till the phone dies.
I tried to flash the addon a few more times and still worse battery life ever seen. It drained in about 2 or 3 hours with maybe an hour of screen on time.
The only thing I can guess is that you still have some part of LP still hanging around. My weekend didn't turn out like I wanted, but when I can, I will post a complete zip. That should solve your problem.
Any difference between this RPM partition and the rpm.img you posted in your other thread?
I dirty flashed this over marshmallow and everything's running fine for over 2 days. Hell i even still have some of my xposed apks installed lol.
If anything, i think battery is better.
Edit - oops wrong thread, meant for your other full rom thread.
I did a completely clean install and flashed the addon, battery life is terrible. Its not as bad without the addon but it still sucks.
This addon works great. I got a full day out of it. Before on MM, I got 8 hours, tops.
Make an update zip to enable volte on other network
Sent from my LG-H818 using XDA-Developers Legacy app
I disabled volte and wifi passpoint. Alot better as long as im not using it
I noticed the addon.zip has a file called rpm.img but the revert.zip its called rpm_mm.img, will the revert.zip still work?