[FIX][ROOT][ICS ROMS] compiled "power_profile.xml" file to fix cell stand by issue

bala_gamer

Recognized Contributor
Mar 29, 2011
12,298
6,999
253
Madurai-Chennai
[FIX][ROOT][ICS ROMS] compiled "power_profile.xml" file to fix cell stand by issue

Only for Samsung ICS roms, this bug is fixed by samsung in JB

This We know that almost all samsung roms as of now has "cell standby" battery drain. But its understood that its a miscalculation of power used rather than the actual power usage.

A big thanks to Anderilux here and here for finding this thing .

This mod will fix the wrong reporting of "cell stand by "usage to some extent. If your mobile has actual drain due to signal issues or some other issues do not blame me or any other for not fixing this.;)

What is changed ?

The power drain value in power_profile.xml is changed to 3.4 mA(approx value) from 34mA(which is practically impossible).


Attaching the compiled power_profile.xml file along with this post.This saves your time of decompile/recompile framework-res.apk. All you have to do is open your framework-res , modify the apk with 7zip or winrar.

How to?

1.Open you framework-res.apk file via 7zip or winrar.
2.Navigate to "framework-res\res\xml".
3.Delete the existing "power_profile.xml" file and add the attached one here.
4.Now pull back the framework-res.apk back to your mobile
5.Restart your mobile.

Or you can simply flash the below cwm zip, thanks to @ ausdim for packing this :)
http://www.mediafire.com/?x7lhcpjjr9pg4mb


Now you wont see "cell standby" topping your battery usage list.

verified the power_profile of many roms ,its actually same. so this should work with almost all roms :) Lets hope samsung would fix it in their future rom releases :)

Download the xml file here

Here is the reference decompiled xml file for the purpose of learning.

before changing xml

after changing xml
 
Last edited:

danarama

Senior Member
Aug 22, 2010
31,287
18,810
0
Oxenhope, West Yorkshire, UK
Yes I did this yesterday and everything makes more sense now. I set to 3 though, not 3.4

I'm slightly surprised this works with swapping the xml. That didn't work for me. I had to recompile. Reboots fine?

Sent from my GT-I9300 using Tapatalk 2
 

ausdim

Senior Member
Jan 9, 2007
882
2,591
0
I make a simple zip to install it with CWM.

It will replace the file inside the framework-res.apk and it will work with any rom.

Thank's goes to Walhalla for the zip file.

And also to bala_gamer and Anderilux for the fixed file. ;)

It is also backup your curent framework-res.apk to /extSdCard/mode-backup.

Thank's
 
Last edited:

bala_gamer

Recognized Contributor
Mar 29, 2011
12,298
6,999
253
Madurai-Chennai
I make a simple zip to install it with CWM.

It will replace the file inside the framework-res.apk and it will work with any rom.

Thank's goes to Walhalla for the zip file.

And also to bala_gamer and Anderilux for the fixed file. ;)
Thanks , should have made one myself.will attach the zip file to the op :)

《tapatalked from galaxy s3》
 
  • Like
Reactions: pravinb89

ausdim

Senior Member
Jan 9, 2007
882
2,591
0
Thanks , should have made one myself.will attach the zip file to the op :)

《tapatalked from galaxy s3》
You and Anderilux did all the work.

Everything else is just for facilitating.

Thank you.

---------- Post added at 10:01 AM ---------- Previous post was at 09:56 AM ----------

Installed, It is working but now it means I can't blame cell standby anymore for battery problems... Who shell I blame now??? :)

Thanks guys!
Now you can blame the "Screen" :cyclops:
 

hisee

Senior Member
Oct 29, 2010
3,114
247
0
MUMBAI
just copy zip file in sd card and cwn insll from sd card? it wont give UPGARDING ANDROID. in every boot?

Sent from my GT-I9300 using xda premium
 

danarama

Senior Member
Aug 22, 2010
31,287
18,810
0
Oxenhope, West Yorkshire, UK
it wont give UPGARDING ANDROID. in every boot?

Sent from my GT-I9300 using xda premium
Just once perhaps.

---------- Post added at 11:37 AM ---------- Previous post was at 11:36 AM ----------

How risky is this ?
Any possible drawback?
Its not risky if you take a nandroid backup first.

Drawbacks? Although it will look more realistic, its still not perfect. Guessing the actual mA and CPU values are not correct still.
 

nexusitwas

Senior Member
May 15, 2012
51
6
0
This We know that almost all samsung roms as of now has "cell standby" battery drain. But its understood that its a miscalculation of power used rather than the actual power usage.

A big thanks to Anderilux here and here for finding this thing .

This mod will fix the wrong reporting of "cell stand by "usage to some extent. If your mobile has actual drain due to signal issues or some other issues do not blame me or any other for not fixing this.;)

What is changed ?

The power drain value in power_profile.xml is changed to 3.4 mA(approx value) from 34mA(which is practically impossible).


Attaching the compiled power_profile.xml file along with this post.This saves your time of decompile/recompile framework-res.apk. All you have to do is open your framework-res , modify the apk with 7zip or winrar.

How to?

1.Open you framework-res.apk file via 7zip or winrar.
2.Navigate to "framework-res\res\xml".
3.Delete the existing "power_profile.xml" file and add the attached one here.
4.Now pull back the framework-res.apk back to your mobile
5.Restart your mobile.

Or you can simply flash the below cwm zip, thanks to @ ausdim for packing this :)
http://www.mediafire.com/?x7lhcpjjr9pg4mb

Now you wont see "cell standby" topping your battery usage list.

verified the power_profile of many roms ,its actually same. so this should work with almost all roms :) Lets hope samsung would fix it in their future rom releases :)

Download the xml file here

before changing xml

after changing xml
sorry if this is a noob question, would this change the battery life or would it just attribute the battery usage to some other factor (post the right calcs)?