Join now - be part of our community!

[Solution] - Battery drain issue .205 ROOT

nsanelazarov
Visitor

[Solution] - Battery drain issue .205 ROOT

Hey guys,

just a quick intro. You have to have your phone ROOT-ed, have Xposed Framework and Gravity Box for JB installed.

Basically, everything was done via Gravity Box. Theres this option in the app that allows the phone to switch between 3G/2G based on what you choose. I have set it up so everytime I lock my phone it switches back to 2G, (because I get heavy battery drain when on 3G, LIKE A LOT) and when I unlock my phone, it switches to 3G within 3-5 seconds. 

It's not a real solution, but without this being done i get around 12000 wakeups on the phone, and this way I only get around 900, which is more than 12x times lower Slightly_smiling_Face

Anyhow, here are the screenshots that I have taken just to proove that I have somewhat gotten some good battery life out of this phone

.Screenshot_2014-08-19-18-02-17.pngScreenshot_2014-08-19-18-02-24.pngScreenshot_2014-08-19-18-02-31.pngScreenshot_2014-08-19-18-02-38.pngScreenshot_2014-08-19-18-02-47.pngScreenshot_2014-08-19-18-02-57.png

2 REPLIES 2
JRMoore
Visitor

Hi, I may be wrong but I think it has to do with Fast Dormancy, If it is supported by the network and enabled in the phone you would get better performance in 3G networks.

Basically instead of having just 2 states (connected & disconnected) you get more depending on the volume of data being transmitted and an idle one as well.

Check with your phone company if they have Fast Dormancy enabled throughout their network (it may be a good idea to post a thread in their forums, I doubt an operator would know what you're talking about), if they do and since you have root access edit build.prop to add this to ensure you have it enabled:

ro.semc.enable.fast_dormancy=true

If your network provider doesn't have Fast Dormancy enabled it's actually better to have it disabled in your phone, wake ups due to FD would increase a lot. In that case try disabling it setting to "false" that property.

Also, since you have root access, I know some operators customize this setting in /system/etc/customization/settings/config.prop. Take a look there as well ;).

If you get no answer from your operator, do tests yourself during the night with the battery fully charged at the beginning for example (always in 3G, disable that switching):

 - 1 night with FD enabled in your phone.

 - 1 night with FD disabled in your phone.

Then check your battery info, or the number of wakelocks. You can even check the FD related alarms:

adb shell dumpsys alarm > AlarmDump.txt

Look for FastDormancyWakeupServer in that file.

You may even find out that the differences are not drastic in your case, you can continue to use your workaround ;).

nsanelazarov
Visitor

Well, at the time I wrote this post I still had wake ups, about 900. Now, the last 2 days I don't have any wake ups at all. Seems like what I have done is working but still, I will keep your option in mind Slightly_smiling_Face