[POSSIBLE][FIX]Battery stats fix for ATT 4.5.91 - Atrix 4G Android Development

USE THIS SCRIPT AT YOUR OWN RISK
This is just a proof-of-concept fix. I dont guarantee any improvement, because i have not much time to test it.
I simply replace battery libs and apps extracted from HKTW.
How to:
1. Download "battfix_cwm.zip" (bellow in Attached Files)
2. Copy it to sdcard or sdcard-ext
3. Reboot into CWM recovery
5. Click "install zip from sdcard"
6. Choose zip from sdcard
7. Pick the "battfix_cwm.zip"
8. Install
9. Reboot

Is this to fix battery performance or the meter jumpin all over the place
Sent from my MB860 using XDA Premium App

joshyy_rey said:
Is this to fix battery performance or the meter jumpin all over the place
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
meter jumpin...

had the same problem with HKTW though.....

yeah, HKTW has crazy battery jumping, so I don't know if using their battery portions are going to make any difference

Has someone tried this method? Please report back
Enviado desde mi MB860 usando XDA Premium App

dLo GSR said:
yeah, HKTW has crazy battery jumping, so I don't know if using their battery portions are going to make any difference
Click to expand...
Click to collapse
+1
Sent from my MB860 using XDA Premium App

I just flashed it and my battery level has evened out. It was a steady climb down even in standby but after this flash, its not as steep and seems like this could improve standby battery time. Il keep checking throughout the day and post back results.
Sent from my MB860 using Tapatalk

saywhat4118 said:
I just flashed it and my battery level has evened out. It was a steady climb down even in standby but after this flash, its not as steep and seems like this could improve standby battery time. Il keep checking throughout the day and post back results.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
Reboot and tell us if the battery percentage changes.

here is a screen shot of what my results are showing after I flashed this zip. You can see how it isn't dropping as drastically after the flash.
Sent from my MB860 using Tapatalk

Unfortunately I'm on HKTW and battery is not accurate. It jumps back and forth. We need a real fix for this.

JayRolla said:
Reboot and tell us if the battery percentage changes.
Click to expand...
Click to collapse
Yeah, what he said. If my battery showed 75% before reboot, it would show 99% after reboot.
Sent from my MB860 using XDA App

saywhat4118 said:
here is a screen shot of what my results are showing after I flashed this zip. You can see how it isn't dropping as drastically after the flash.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
Also note that ur "Awake" was 100% b4, i also had this problem and have been looking into it, afterwards ur "Awake" is not constant.

So far it hasn't worked for me.
Sent from my Atrix, using XDA app.

Maybe one of the devs can get the files from the OTA Of 2.3.4 IF it diesnt have the issue and has not bricked their phone
Sent from my Motorola Atrix 4G using XDA Premium App

WTF why i am not been able to see the attached file

vikramdhani said:
WTF why i am not been able to see the attached file
Click to expand...
Click to collapse
because i removed it. it doesnt work...

kamma said:
because i removed it. it doesnt work...
Click to expand...
Click to collapse
edit the OP post content as well then..

Ilkinansr92 said:
Maybe one of the devs can get the files from the OTA Of 2.3.4 IF it diesnt have the issue and has not bricked their phone
Sent from my Motorola Atrix 4G using XDA Premium App
Click to expand...
Click to collapse
i agree the files from the leaked 2.3.4 ota are probably key to a fix. unfortunately i m one of those that installed the ota however the battery life been great.

jug6ernaut said:
Also note that ur "Awake" was 100% b4, i also had this problem and have been looking into it, afterwards ur "Awake" is not constant.
Click to expand...
Click to collapse
Yeah your right, my wake time have been bad since I flashed the first gingerbread update. Hope this gets fixed soon.
Sent from my PG86100 using Tapatalk

Related

Necessary to recalibrate after rom flash?

So yesterday I calibrated my battery and was suprised it actually worked. But today I flashed a new rom (for like the 6th time this week, I think I have a problem) Should I calibrate again?
Sent from my GT-I9000 using XDA App
I /think/ it's only when you flash a rom without a fully charged battery.
Sent from my SAMSUNG-SGH-I897 using XDA App
Well if you have tons of time I don't see why not. Most of the time, I feel that it is not necessary to calibrate the battery. I only do it when there is a severe battery drain.
koreancanuck said:
Well if you have tons of time I don't see why not. Most of the time, I feel that it is not necessary to calibrate the battery. I only do it when there is a severe battery drain.
Click to expand...
Click to collapse
Well being on christmas break this week i do have lots of time Lol. But the battery is draining pretty badly so i guess i will anyway
david717 said:
I /think/ it's only when you flash a rom without a fully charged battery.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
+1 to this. Please ensure u flash a ROM after u charge the battery to 100%.
I've been looking but have yet to find directions on how to calibrate a battery. Can some one please tell me the ways to do this?
Sent from my SAMSUNG-SGH-I897 using XDA App
thabeast said:
I've been looking but have yet to find directions on how to calibrate a battery. Can some one please tell me the ways to do this?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Charge the phone till 100% while it is turned on, disconnect the cable.
Turn it off and charge it till it's 100%, disconnect cable.
Turn it on and off, charge till it's 100% and disconnect the cable.
Now, delete battery stats using CWM or run the following command using ADB or Terminal Emulator:
Code:
su
rm /data/system/batterystats.bin
Sorry but what is cwm?
Sent from my SAMSUNG-SGH-I897 using XDA App
thabeast said:
Sorry but what is cmw?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
ClockwordMod
You should just follow this:
http://forum.xda-developers.com/showthread.php?t=765656
Thank You
Sent from my SAMSUNG-SGH-I897 using XDA App

From 10a to 10b

Hey guys,
I got the OTA Update couple days ago. My phone didnt hard reset after installing it. However I am withnissing big battery drains. Even when data is disables.
Any one else having big battery drain since the update?
I‘m still using the same apps and settings.
Sent from my LG-P990 using XDA App
Nope. I upgraded without a hard reset and my battery is still the same.
Sent from my LG-P990 using XDA App
Blizze said:
Nope. I upgraded without a hard reset and my battery is still the same.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
So you think I should do a HR just in case?
xmoo said:
So you think I should do a HR just in case?
Click to expand...
Click to collapse
I think so. It can only get better.
ULJ said:
I think so. It can only get better.
Click to expand...
Click to collapse
Just did a hr. Phone seems to work better now. Hope battery aswell
Sent from my LG-P990 using XDA App

Copying battery stats file?

Would it work to just copy the battery stats file to another rom so u don't have to re calibrate everytime u install one or would that be a bad idea
Sent from my DROID3 using XDA App
prsterero said:
Would it work to just copy the battery stats file to another rom so u don't have to re calibrate everytime u install one or would that be a bad idea
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
You don't need to calibrate, just charge it full. Battery stats are automatically wiped when you unplug with a full charge.
Sent from my XT860 using xda premium
Endoroid said:
You don't need to calibrate, just charge it full. Battery stats are automatically wiped when you unplug with a full charge.
Sent from my XT860 using xda premium
Click to expand...
Click to collapse
Well the new 3500 milliamp battery I got says to fully discharge and charge 4-5 times to get the most out of ur battery. Or is that just for when u first get it
Sent from my DROID3 using XDA App
prsterero said:
Well the new 3500 milliamp battery I got says to fully discharge and charge 4-5 times to get the most out of ur battery. Or is that just for when u first get it
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
Just when you first get it. Its a "break in" for batteries.
Sent from my XT862 using XDA App
Although I believe that its good to do a full discharge and charge every so often.
Sent from my XT860 using xda premium
Alright that's what I thought. Although while discharging my phone froze up and rebooted so I think ill have to recalibrate again lol
Sent from my DROID3 using XDA App
prsterero said:
Alright that's what I thought. Although while discharging my phone froze up and rebooted so I think ill have to recalibrate again lol
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
It shouldn't affect battery. I've tested it myself, battery life before and after calibration is no different. This calibration myth was debunked by a google framework engineer.
Sent from my XT860 using xda premium
ya I read a short thing on that. Kinda odd though. Seems like sometimes u could get a worse battery life some days compared to others. But it also seems like a good idea since u don't have to calibrate every time u do something.
Sent from my DROID3 using XDA App
The calibration has nothing to do with the battery life, it just gives a more "exact" reading of the battery level.. I miscalibrated my battery once, and it was at 1% for about 3 hours, then finally died..
Sent from my XT862 using XDA App
ChaoticWeaponry said:
The calibration has nothing to do with the battery life, it just gives a more "exact" reading of the battery level.. I miscalibrated my battery once, and it was at 1% for about 3 hours, then finally died..
Sent from my XT862 using XDA App
Click to expand...
Click to collapse
Ya that happened to me once. Now I just make a point of being able to fully charge anytime I flash a rom.
Sent from my XT860 using xda premium
I have now been convinced that there is no reason to calibrate your battery at anytime. Google engineer pretty much put it to rest and since then I have flashed repeatedly and all that changes is the ROM , sometimes battery is bad and other times its great. CM9 is best so far. Until we get new kernals our battery won't ever be great.
Sent from my XT862 using XDA App
atlantanetworkguy said:
I have now been convinced that there is no reason to calibrate your battery at anytime. Google engineer pretty much put it to rest and since then I have flashed repeatedly and all that changes is the ROM , sometimes battery is bad and other times its great. CM9 is best so far. Until we get new kernals our battery won't ever be great.
Sent from my XT862 using XDA App
Click to expand...
Click to collapse
Ya reading through the comments it seems batterystats.bin has nothing to do with the displayed battery level, but rather just what is using the battery. The displayed battery level comes from kernel level
Sent from my XT860 using xda premium
ChaoticWeaponry said:
The calibration has nothing to do with the battery life, it just gives a more "exact" reading of the battery level.. I miscalibrated my battery once, and it was at 1% for about 3 hours, then finally died..
Sent from my XT862 using XDA App
Click to expand...
Click to collapse
Same, although not for 3 hours but 15min heavy load (720p mkv). Which normally kills 10% battery.
After calibrate it never happened again and died right after 1%

71% battery see if battery good

My phone will not be on charger and wifi on I want to see if phone will last till morning
Sent from my LG-P925 using XDA
Cool story bro
Just woke up to 46% not bad
Sent from my LG-P925 using XDA
Hahahahahaaha!!!!!!
malebornin69 said:
Hahahahahaaha!!!!!!
Click to expand...
Click to collapse
Be nice.
Its all good
Sent from my LG-P925 using XDA
Better then before I take it.
I had crappy battery life on stock. Today I put Thrill Seeker on my phone and I have had it unplugged for about 12 hours, it was at 100%, then through loading and restoring apps, text messages, etc, making phone calls... So decent use, it's now at 63%.
So that might be an option for you.
cmarriner82 said:
Better then before I take it.
I had crappy battery life on stock. Today I put Thrill Seeker on my phone and I have had it unplugged for about 12 hours, it was at 100%, then through loading and restoring apps, text messages, etc, making phone calls... So decent use, it's now at 63%.
So that might be an option for you.
Click to expand...
Click to collapse
I would put that on but I like the 3d
Sent from my LG-P925 using XDA
lazylu said:
I would put that on but I like the 3d
Sent from my LG-P925 using XDA
Click to expand...
Click to collapse
ThrillSeeker has HDMI and 3D as it is not based off CM7.
cmarriner82 said:
ThrillSeeker has HDMI and 3D as it is not based off CM7.
Click to expand...
Click to collapse
Oh OK I did not know can u send me link please?
Sent from my LG-P925 using XDA
The Dark Lestat said:
Be nice.
Click to expand...
Click to collapse
I was laughing at Markyzz's comment...hit the wrong button
lazylu said:
Oh OK I did not know can u send me link please?
Sent from my LG-P925 using XDA
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1584955
The 3D seems actually quicker to start up. It doesn't have the 3D Game Converter I don't think, but someone on stock might be able to throw that up so you can put it into system/app.
cmarriner82 said:
http://forum.xda-developers.com/showthread.php?t=1584955
The 3D seems actually quicker to start up. It doesn't have the 3D Game Converter I don't think, but someone on stock might be able to throw that up so you can put it into system/app.
Click to expand...
Click to collapse
Thxs
Sent from my LG-P925 using Tapatalk

[Mod] HTC Extreme Power Saver

Hey everyone.
I thought it kinda sucked that our phones didn't come with the Extreme Power Saving mode so I did some tinkering around with the smali and here you have it!
I flashed this on the completely stock odexed ROM using TWRP 2.7.0.0 and it worked perfectly.
Enjoy!
PS. I'm not liable if you blow up your phone. Make a nandroid!
Here's a link to google drive, XDA is being weird about uploading it.
Just hit File ---> Download
________________________
Deodex:
http://goo.gl/yMcEJ9
md5: EE7E22C40E410C9405D94F0831EB6F0F
________________________
Odex:
http://goo.gl/6H6da3
md5: 00175CC69DD53DC8E2AC015F3D0A8F8E
jkt97401 said:
Hey everyone.
I thought it kinda sucked that our phones didn't come with the Extreme Power Saving mode so I did some tinkering around with the smali and here you have it!
I flashed this on the completely stock odexed ROM using TWRP 2.7.0.0 and it worked perfectly.
Enjoy!
PS. I'm not liable if you blow up your phone.
Click to expand...
Click to collapse
Where's the zip?
Sent from my 831C using Tapatalk
jkt97401 said:
Hey everyone.
I thought it kinda sucked that our phones didn't come with the Extreme Power Saving mode so I did some tinkering around with the smali and here you have it!
I flashed this on the completely stock odexed ROM using TWRP 2.7.0.0 and it worked perfectly.
Enjoy!
PS. I'm not liable if you blow up your phone.
Click to expand...
Click to collapse
Ummm did you forget something? LOL
Lol i updated the OP. Patience young padawan!
Only caveat I've noticed so far is that it takes a little bit for apps that rely on background sync to reengage. For example, if you go into the play store it doesn't see that background sync is on unless I kill the app.
awesome, thanks!
magicalan said:
awesome, thanks!
Click to expand...
Click to collapse
You're welcome!
I added deodex version for use with bad seeds stock ROM
So, where is the zip?
mcwups1 said:
So, where is the zip?
Click to expand...
Click to collapse
The links are in the first post. They link to Google drive.
Sent from my 831C using XDA Premium 4 mobile app
I'm completely brain dead in the subject.
I download all files and zip myself? Or, do I just pick a certain app?
I think Steal's new ROM has it included.
mcwups1 said:
I'm completely brain dead in the subject.
I download all files and zip myself? Or, do I just pick a certain app?
I think Steal's new ROM has it included.
Click to expand...
Click to collapse
Open page. File menu, last option is Download. At least that is my recollection.
I'm confused. They pulled extreme power saver on the sprint model? (I don't have mine til Monday.)
Sent from my EVO using xda app-developers app
Yep all domestic carriers I think. Until it gets approval by sprint
Sent from my 831C using Tapatalk
Confirmed working for m7wls any sense 6 port, I'm using bad boys sixth sense port
Sent from my HTCONE using XDA Premium HD app
Captain_Throwback said:
Open page. File menu, last option is Download. At least that is my recollection.
Click to expand...
Click to collapse
Had to change to desktop mode in dolphin browser to even get there.
DEFNUB said:
Confirmed working for m7wls any sense 6 port, I'm using bad boys sixth sense port
Sent from my HTCONE using XDA Premium HD app
Click to expand...
Click to collapse
Good to hear!
Sent from my 831C using XDA Premium 4 mobile app
jkt97401 said:
Good to hear!
Sent from my 831C using XDA Premium 4 mobile app
Click to expand...
Click to collapse
This is just the ui portion, it needs the services and libs to make it function. Sytemui can also be included for the quick settings tile but not necessary.
Sent from my 831C using Tapatalk
A couple of screen shots
Sent from my HTCONE using XDA Premium HD app
henderjr said:
Yep all domestic carriers I think. Until it gets approval by sprint
Sent from my 831C using Tapatalk
Click to expand...
Click to collapse
That's just stupid. Oh well. I've never run stock longer than it takes to get a recovery installed anyway. It's just dumb that carriers eliminate main features of a device. I thought that was one of it's bog selling points.
Sent from my EVO using xda app-developers app
adamlee011 said:
That's just stupid. Oh well. I've never run stock longer than it takes to get a recovery installed anyway. It's just dumb that carriers eliminate main features of a device. I thought that was one of it's bog selling points.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I'd have to agree.
Sent from my 831C using Tapatalk

Categories

Resources