[GUIDE][UPDATE] Try the battery tweak with Myn's RLS3! - EVO 4G Android Development

Battery tweak can be found HERE:http://www.mediafire.com/?xmjdd797f6v2m90
Tweak can only be used with No HAVS kernels (recommended kernels below)
What is the battery tweak exactly? More information in this thread:http://forum.xda-developers.com/showthread.php?t=810940
The intended scope of this thread is for people having trouble with Ksoft consuming too much CPU resources
DO NOT USE WITH SETCPU!
Ksoftirq is something in the kernel that manages requests to the CPU. That means some device in your system is sending the processor a slew of IRQs so that the softirqd for your processor is being consistenly woken up, which ends up using most of your CPU cycles, thus sucking your battery life and performance. As indicated before, anything with a "K" in front of it is referring to the kernel. A kernel is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).
When the ksoftirq is using such a high percentage of CPU, it is causing your CPU to work harder and doing two things that we dont' want; taking away from performance and draining the battery.
As it stands now, we know that depending on what kernel you're using it is going to determine whether or not you have that problem in the tweak. We know that it is not an app that is sending processes to the CPU that is causing the problem.
Don't fret if you read through this thread (http://forum.xda-developers.com/showthread.php?t=810940) and flash 1 of the 2 kernels known to work and it still shows ~30%, you're probably just not doing it right. You cannot simply just flash a new kernel, because as said before, the kernel is the link between software(battery tweak) and hardware. Therefore you must have the new kernel in place, then go about flashing the battery tweak. That way it is installed properly by the proper kernel.
As of now, there are 2 known kernels compatible with this tweak:
STOCK HTC 11 kernel, modded: http://www.mediafire.com/?i7u103j9xqnaw3s
Netarchy NoHAVS kernel: http://forum.xda-developers.com/showthread.php?t=719763
**Scroll down and you will see NoHAVS kernel by request, I have had better luck and amazing battery life with Netarchy's kernel
Instructions:
1. Open terminal emulator, type su. You will be prompted that you have gained superuser access
2. Type batt-cfg, then press 1 and then enter when dialog comes up about having root access
3. Choose option 4 to Disable battery tweak, then 9 to save changes and exit
4. Type batt-rm.sh, follow directions to remove tweak (It will tell you to choose y/n, choose "y"
5. Reboot your phone into recovery and install new kernel from zip. When that is finished, install battery tweak.
**It is ESSENTIAL that you follow these first 5 steps in order or I promise you that you will have the same ksoft issue over and over again**
6. When you reboot your phone, go into terminal emulator and type su again.
7. After gaining root access, type batt-cfg. Choose option 1 and save changes and exit.
8. Make sure that phone is unplugged from computer/wall! This is very important, having the phone plugged in will not show the ksoft process so you will not know whether it is still a problem or not.
9. Type top "-m 5 -n 1"(without quotes) This will show you your top CPU processes. You should see no abnormally high percentages for system or ksoft particularly. What percentage you see can depend on your current battery life when you run this test. Make sure that your phone is not plugged in when running the test! Also, take note of your battery life.
Tweak Will stick after reboot. You do not need to re-enable it.
If you install system monitor, you will be able to monitor the cpu level. When I am not touching the screen of my phone, it shows 245mhz. When I start moving the screen or etc, it hikes up a little bit. This shows that the tweak is working properly.
I have gotten incredible battery life out of this with very heavy usage(facebook, texting, phone calls, gps, pandora, running command prompts, etc).
Until something new comes around that I am sure will give me equally as good or better performance and battery life, I will not be switching ROMS/kernels EVER!
ROM: Myn's Warm 2.2
Kernel: Netarchy NoHAVS
Sidenote- I have just as good of performance and speed as I did while having CM6 with Snap7.6&turbo enabled, so don't think that you are sacrificing any performance.
Hope this clears up everything for everyone!
UPDATE-
There has been much debate as to whether or not this tweak works or not. I should have been more clear in the original post. Ksoft is still a necessary process, however, when I said that the purpose was to elimate the "ksoft problem" I was meaning that it should not be detectable by the CPU when you run the "top -m 5 -n 1" command. Neotelos_com made a very good point that is necessary to understand this tweak, "ALSO, this tweak lowers the CPU speed as the battery drains, so within the first hour you will notice the most battery drain." This means a few different things:
-Depending of the charge of your battery when you run the top 5 command, you will see different percentages of ksoft. For example, if I run the top 5 command right now, my battery is at 30% and ksoft doesn't even register at all. Assuming that I charge my battery full and run the top 5 command in the morning when my battery is fully charged, it will register as a process. Ksoft in the low ~20% is completely normal with a full charge. IT WILL BECOME LESS LESS AS THE BATTERY DRAINS.
-I have been toying with this in the very little free time that I have had the past couple days and have also discovered a few other things. Programs like Ultimate Juice, Juice Defender, and Tasker used in coherence with the battery tweak will improve a already great mod to give you significantly more battery life than before. the main reason being that 90% of the time your cell stanby is what is draining your battery the most. Those programs will turn off your mobile network when you are not using it saving a TON of battery power.
I will be posting screenshots at the conclusion of my testing either late tomorrow night or wednesday around 12ET. I want to be able to provide everyone with the info that they need to be able to get the best life out of your battery possible.
Contributions:
intheb0x
Neotelos_com
Myn
Developers of battery tweak

So, is seeing ksoftirqd in step 9 bad?

Techrocket9 said:
So, is seeing ksoftirqd in step 9 bad?
Click to expand...
Click to collapse
It depends what percentage of CPU it is using; in my experience it had been 20+ percent every time when I had the problem.

Is this good or bad? I would guess bad if i'm reading it right.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changed Screen Shot. Keyboard was hiding results

nugzo said:
Is this good or bad?
Click to expand...
Click to collapse
Try exiting out and then do it again. Mine showed up but still showed ksoft.
Sent from my PC36100 using XDA App

when you say incredible battery life...how many hours are we talking about

Using this with SetCPU = fail?

freeza said:
Using this with SetCPU = fail?
Click to expand...
Click to collapse
Yes, do not use this with SetCPU. It is unnecessary and will cause conflict as both are going to be scaling your CPU.

jhoffy22 said:
It depends what percentage of CPU it is using; in my experience it had been 20+ percent every time when I had the problem.
Click to expand...
Click to collapse
I just uninstalled, followed directions to the T again with netarchies no havs, this time 37%. Hmmm not working for me.

flam253 said:
when you say incredible battery life...how many hours are we talking about
Click to expand...
Click to collapse
It will be different for everyone based on usage, quality of service in your area(how hard your phone is working to give you good service), and a number of other things. I can't tell you exactly how many hours but I can tell you this...after configuring this battery tweak correctly, battery life has nearly doubled. It's only been one day, but to this point I am extremely satisfied and never looking back. I will report further on this in the future and provide screen shots of my battery usage and Juice Plotter graphs.

nugzo said:
I just uninstalled, followed directions to the T again with netarchies no havs, this time 37%. Hmmm not working for me.
Click to expand...
Click to collapse
What ROM are you using?

OK for clarity are we suppose to have one of those kernels installed before following the instructions or only during step 5?

JaiCameron said:
OK for clarity are we suppose to have one of those kernels installed before following the instructions or only during step 5?
Click to expand...
Click to collapse
It doesn't matter what kernel you have originally, just make sure that before you flash the battery tweak you have it completely disabled and removed and use one of the two suggested kernels when you reflash the tweak.

Im getting "batt-cfg: not found"

JaiCameron said:
Im getting "batt-cfg: not found"
Click to expand...
Click to collapse
You must not have the battery tweak flashed. You need to go to the forum and find the original thread of the collin_ph battery tweak and get the zip file and flash that separately and after flashing the kernel.
Sorry, this was a quick write up and I left out some information for people who weren't familiar with what the battery tweak is exactly.

Mine still shows ksoft.
Sent from my PC36100 using XDA App

heres the post to the updated one FOR THE ERIS, NOT the evo, BUT it has more features, and the creator is in the thread, lots of info about different settings, how things work and so on..
http://forum.xda-developers.com/showthread.php?t=784089
i think i found out all the bugs from this tweak, there may be more, but i think through about a week and a half through my own trial and error, ive found out everything and whats going on. If working correctly (NO KSOFT), you can achieve great battery life.
hopefully the coder from that thread will update the battery tweak we use to include the temperature mod, since my phone overheats and could really benefit from that feature.
if you wanna be more customized, i recommend choosing option 3 and setting it up your way.
heres what i set.
i left it on underclock
i left the governor alone
i also chose deadline instead of noop.
Min cpu- 245000
max cpu 768000
for polling, instead of 60, i used 120 and instead of 15 i used 30,
then when it gets to cpu usage when battery is low, i choose 28 instead of 33.
you can change these numbers to your choosing, but with these above, i noticed no performance issues and everything seemed normal, just with extra battery life.
but with all our heads together, we can work everything out and get this tweak perfect...

Not working. Myn 2.2 netarchy noHAVS kernel. Showing 28% k...irq
Sent from my PC36100 using Tapatalk

What % should cpu be at to determine if the tweak works or not?

JaiCameron said:
What % should cpu be at to determine if the tweak works or not?
Click to expand...
Click to collapse
Go into terminal, run "top -m 5 -n 1" (without the quotes) and if you system says anything more than 20% the tweak is not working correctly.

Related

**HOW TO MAKE YOUR BATTERY LIFE LAST** Members Tips & Tricks

I just wanted to start a thread where all members can give tips and tricks on how to make our battery last longer. I know there is a “How long does your battery last” thread but we can just post here to help all members alike. Please post if you are permarooted, type of ROM, type of Kernal you are running. Please post the apps and setups you are also running to achieve this type of battery life.
Here’s my setup
S=off (permarooted)
Iced Glacier v1.11
Gorilla v.05 kernal
Oc’ed @1.4ghz
Screen Brightness set to 40%
Data sync every 1 hour
WiFi on, GPS off
The ROM I am on came with all the bloatware erased, so it was perfect. If you are running a stock ROM, first thing you should do is remove them. I then installed a app called SuperPower (dev. By a XDA member) which really helped a lot. You can setup times where you can have data on, wifi on, sync, screen brightness. Next install setcpu, this will help you overclock your cpu but more importantly, underclock your cpu. Heres my cpu settings.
Running: 1401/368
Screen off: 368/368
Battery under 50% 768/368
I also stopped using Advanced Task killer as I read it does more harm then good. Hopefully this thread will help out all members with their battery life!
Some screen shots I took. It shows what speed I'm running and it also shows that I have been off the charger for 15 hours and still have 45% left.
how do you set up data to sync every hour? and what theme is that?
That's one of the features of SuperPower. It's a great app, even if you're not rooted.
Personally, I'm rooted but haven't installed any custom ROM or kernel; still, just having SetCPU underclock the phone when the screen's off is a huge savings, as well as SuperPower's ability to turn off wifi when it's not in use.
2012iawait said:
how do you set up data to sync every hour? and what theme is that?
Click to expand...
Click to collapse
I set it up in SuperPower. I'm using the Ice Glacier Rom with Launcher Pro Custom Docks
Great thread ! I like the idea of under clocking with screen off. But doesn't your display account for the vast majority of your battery usage? It seems like lowering the brightness would be the absolute best bang for your buck. Further, until the other items become a significant percent of your battery usage, you might be splitting hairs. Anyway thanks for the info, ill be downloading that app
I'm running iced glacier. Rooted with gorillas v.05 kernel. My battery last about 8 to 10 hours with heavy use. 5 hours of continuous use. 12 plus light use.
Setcpu:
Performance governor
1.7max 245min
Temp over 104° F
806max 245min
Screen off
368max 245min
Autokiller
Ultimate preset
Screen
Brightness/Auto
Timeout/15seconds
No animations
No rotation
Sync/setup to my liking, no baterry savings here
6ps, wifi, bluetooth, location
All of unless needed
I charge my phone for 7 plus hours everyday. Since I can't shut it off without booting into recovery, I can't really charge it off, which is how most tutorials recommend you calibrate your battery.
I've noticed that wiping battery stats in clockworkmod recovery actually decreases battery life. I recommend simply charging the hell out of your phone when you can. I know I know its bad for the environment... SO IS PLASTIC! Lol
Sent from my HTC Glacier using XDA App
crx4xharder said:
I'm running iced glacier. Rooted with gorillas v.05 kernel. My battery last about 8 to 10 hours with heavy use. 5 hours of continuous use. 12 plus light use.
Setcpu:
Performance governor
1.7max 245min
Temp over 104° F
806max 245min
Screen off
368max 245min
Autokiller
Ultimate preset
Screen
Brightness/Auto
Timeout/15seconds
No animations
No rotation
Sync/setup to my liking, no baterry savings here
6ps, wifi, bluetooth, location
All of unless needed
I charge my phone for 7 plus hours everyday. Since I can't shut it off without booting into recovery, I can't really charge it off, which is how most tutorials recommend you calibrate your battery.
I've noticed that wiping battery stats in clockworkmod recovery actually decreases battery life. I recommend simply charging the hell out of your phone when you can. I know I know its bad for the environment... SO IS PLASTIC! Lol
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
When I first flashed clockwork everytime I rebooted while the phone was plugged in it booted into recovery, but not when it was unplugged.
I read somewhere that reflashing clockwork helped fixed this so I reflashed it in rom manager once with no result, reflashing it a second time fixed the issue and my phone hasn't rebooted into recovery since.
and does turning on the usb debugging also help, for real for real?
De-Sensed Iced Glacier 1.2
Gr8Gorilla OC/UV Kernel 1.02: 806/245 On Demand Scaling (Only turn it up to game/bench/show off )
LauncherPro Plus: 7 Screens, 10 Widgets (4 are full screen, 4 of them update every hour)
All apps and games (including the big ones like Angry Birds, Pocket Legends, etc) are moved onto the phone, instead of sd
No Live Wallpaper
Brightness at 30%
Auto-Sync every hour with Facebook, Twitter, Google
Wi-Fi Calling (If you don't use this, you should! A constant connection with a wi-fi network is better than constantly searching for signal with the radio. Great battery saver for home/school/work.)
With this setup I haven't had to put my phone on a charger until the end of the day. Ever. I use my phone for a music player when I deliver pizzas and when I get home I have at least 60%. That is with the music, phone, and gaming during down-time (if I'm lucky ). Then I can play away when I'm home with no worry of plugging it in until I go to bed.
^^ great tip IRIS! I'm gonna start using the wifi calling when I'm at home. I live in the crappy area where it's constantly switching from edge and 3g. I started using the phone with heavy usage and I'm getting around 15 hours. I have the settings, updates, sync to my liking. I'm with crx on this one, use the phone!! Just charge the help out of it when you can
Hey Lakeshow423,
Regarding the screenshot in your OP, is that power control widget from SuperPower, Iced Glacier, or some other 3rd party app?
Thanks, and sorry for posting off-topic.
-TH
tharptx said:
Hey Lakeshow423,
Regarding the screenshot in your OP, is that power control widget from SuperPower, Iced Glacier, or some other 3rd party app?
Thanks, and sorry for posting off-topic.
-TH
Click to expand...
Click to collapse
TH... 3rd party app called switchpro.
My Success...
S=off (permarooted)
Auto Bright
STOCK Sense Froyo with a number of programs disabled including 80% of the bloatware.
(http://forum.xda-developers.com/showthread.php?t=809231 FOR MORE INFO, why buy programs when you can do it yourself...)
USB DEBUGGING ON
Wi-Fi off
Locations Off
GSM/UTMA/HSPA Auto
Only FaceBook and Email update every 30 minutes (I only have like 30 friends on FB so it is a quick update)
All other updates are manual...
I get 30-36 hours on a full charge...
Not sure if anyone looks at this form anymore, but i'm running CM7 nightly build 23, i did a full charge and a battery wipe to see how long my battery lasts. I hammered it for a good 10 hours with OC with screen on (underclocked screen off) i played games, watched youtube videos and just about everything else and i was still at 20%
I once ran for 1 day and 9 hours with 45% left, and it was moderate use.. I was on nightly #19 for CM7.. it's not ever happening again for some reason.
heres mine from switching glacier to miui.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My battery drained to 20% in like 5-6 hours while on glacier even while doing nothing
I found a link early on in my battery problem days.... And I think that this actually does help a lot when it comes to getting a battery that lasts longer. Given its hard to replicate the procedure, because of the CW bug that boots the phone into recovery..but I just charged it while it was in recovery(or I think if you turn fastboot on and charge it while its off, it doesn't boot into recovery.) and my battery life really has seen dramatic increase.... anyways here is the link...
http://forum.xda-developers.com/showthread.php?t=712990&highlight=battery
Note: I do realize that its in the EVO 4G forum, etc...but the letter is from HTC, concerning HTC batteries...So I tried it anyways, and I can't say I haven't seen the effects.
Ill just be blunt...
Dumfuqs smartass kernal
Auto sync off
Background data off
Screen low
Market > my apps > menu > notifications > OFF
Either 4g only or 2g only
Only use 3 of the 5 screens
Minimal Widgets
Pick and choose which you like and/or want to utilize.
I usually leave background data on now so I can have cool green icons
Sent from my HTC Glacier using XDA App
tonyriceroni said:
heres mine from switching glacier to miui.
My battery drained to 20% in like 5-6 hours while on glacier even while doing nothing
Click to expand...
Click to collapse
Yeah I switched to CM7 from IG 1.1.6 and noticed a drastic change in battery life using the same settings on both ROMs. IG display killed my battery(usually around 80%) while the display usage on CM7 is only around 8-10%
clarknick27 said:
Yeah I switched to CM7 from IG 1.1.6 and noticed a drastic change in battery life using the same settings on both ROMs. IG display killed my battery(usually around 80%) while the display usage on CM7 is only around 8-10%
Click to expand...
Click to collapse
I always wanted to know why this is the case? Roms don't control how much power a display is supposed to take, but why does IG show more than CM?
No one mentioned deleting the battery.sh and recalibrating their phones. It can be accessed via recovery or terminal
Su
Rm /data/system/battery.sh
Sent from my HTC Glacier using XDA App

Smartass CPU Governor on Droid 2

So I was investigating loadable kernel modules on the Droid 2 this weekend. One of the modules I tried loading was the smartass governor module and to my surprise it worked. From what I can tell it appears to be working with no problems.
The module itself is from a Milestone Cyanogen ROM. Given how close the Milestone is to the Droid 1 and how close the Droid 1 is to the Droid 2 it seemed like a safe try to see if it would load.
Requirements:
You must be rooted. This really should go without saying but I'm trying to cover all the bases here.
You must have busybox installed.
You must be able to boot into clockwork recovery.
I've tried this on Fission ROM but since we can't change the kernel on the Droid 2 this will probably work on any other Droid 2 ROM. D2G users, YMMV.
NOTICE: By installing this you assume any and all risk for what might happen to your phone. I am not responsible if this mod causes your phone to stop working, catch fire, steal your significant other, and/or hijack a plane. Basically I haven't had any issues but that is not a guarantee that you won't have any issues.
Attached is the update.zip. Boot into clockwork recovery and choose this zip to install. Once you reboot you'll be using the smartass governor.
So what has this done for your battery life?
Anecdotally I believe my battery life has improved. With the ondemand governor and data and wifi off I've seen my battery drop 10% in a night. With the smartass governor under the same conditions my battery appears to be the same. Now given that Motorola phones report the battery in just 10% increments my totally non-scientific analysis might end up being nothing.
Really you'd have to try it yourself and determine if things are better. From what I've read online the smartass governor is better at conserving battery than ondemand but it really depends on how you use your phone.
Download circle battery widget from the market. Its free and somehow it reports 1% increments. I have been using it for a while now and it seems to be spot on.
Sent from my DROID2 using Tapatalk
It just guesses
Well, there is a way to get an accurate battery reading. Reading /sys/devices/platform/cpcap_battery/power_supply/battery/charge_counter will give you the battery level in 1% increments. However, the system reads from /sys/devices/platform/cpcap_battery/power_supply/battery/capacity which provides the bounded 10% increments. Some widgets, Minimalistic Text for example, will read from charge_counter on Moto devices.
Ideally a kernel module could be written that changes what is written out to capacity so the entire system could take advantage of 1% battery increments. If I had the time I would take a crack at it, but it's been awhile since I've done any C coding.
Looks interesting. I'll wait until a little more feedback is given before I try it. How is the performance after the install?
I'm guessing you have to sbf to go back?
tbaker077 said:
How is the performance after the install?
Click to expand...
Click to collapse
No different than using the ondemand governor. Smartass takes a clever approach to CPU scaling: instead of polling CPU usage like ondemand it detects when the phone comes out of sleep and sets a timer to go off in two ticks. Once that timer goes off it looks at CPU usage and scales if needed. What does all this mean? Well, if you turn on your phone to quickly check the time and then turn it back off the smartass governor will never ramp up the clockspeed. So far after a few days of light usage I've been quite pleased.
rtfield said:
I'm guessing you have to sbf to go back?
Click to expand...
Click to collapse
Nope. If you want to revert just chmod 644 /etc/startup/smartass.sh and reboot.
Sweet
Thanks
I wonder if they could modify this to work with the new gingerbread kernel.
I know when I had an HTC Eris, Conap used a smartass gov on his kernel and it was awesome.
So I took a shot and flashed the smartass governor a second ago on my GB d2, and seems to be working just fine. I'll report later with battery stats and anything else i notice.
Spitemare said:
Well, there is a way to get an accurate battery reading. Reading /sys/devices/platform/cpcap_battery/power_supply/battery/charge_counter will give you the battery level in 1% increments. However, the system reads from /sys/devices/platform/cpcap_battery/power_supply/battery/capacity which provides the bounded 10% increments. Some widgets, Minimalistic Text for example, will read from charge_counter on Moto devices.
Ideally a kernel module could be written that changes what is written out to capacity so the entire system could take advantage of 1% battery increments. If I had the time I would take a crack at it, but it's been awhile since I've done any C coding.
Click to expand...
Click to collapse
I took a look at this and found some stuff that might be encouraging.
Here is the source for the battery driver. Line 397 reads as such:
Code:
val->intval = sply->batt_state.capacity;
If line 397 is changed to this
Code:
val->intval = sply->batt_state.batt_capacity_one;
then battery level should be reported in 1% increments. I've posted the updated driver code here.
The problem is the gorram encrypted bootloader. It's not easily possible to swap a built-in hardware driver with a compiled module. If someone with more Linux kernel experience than I wants to take a crack at it then by all means...
Do we really need busybox to uses this?
tbaker077 said:
Do we really need busybox to uses this?
Click to expand...
Click to collapse
Busybox's insmod is a little more robust then the insmod that's on the Droid 2. You can try editing the file /etc/startup/smartass.sh to remove the references to busybox and see if it works; I just stuck with busybox since that was what worked for me when building this thing. I'd try it myself but I can't at the moment.
I'm running an experiment now to see how long this governor will take me. I charged my phone to 100% last night (really 100% and not just to when the charging light went off) and turned it off. I turned it on this morning and will let the phone run until 5% battery is left. At that time I'll take a screenshot showing how long the system has been up. A few guidelines:
ROM is Fission 2.6.1 which of course means Froyo. I've been thinking about switching to the leaked Gingerbread ROM but I've decided to wait a little longer
Data must remain on. I usually turn data off when I'm not using it but to get results closer to worst case I'll keep data on. The only time it will go off is when I turn on Wi-Fi at home.
No turning off the phone at any time nor plugging it in. I guess I'm going to be using Dropbox a lot during this to transfer files but I don't want to reset the time since plugged in at all.
No overclocking, underclocking, or undervolting. Clockspeed and voltage are stock.
Usage will be light to moderate. I tend to use my phones for calls, chats, and web browsing. I'll throw in some YouTube videos and maybe download Angry Birds.
No apps that try to maximize battery life. That means no SetCPU, Tasker, Superpower, etc. This is supposed to be about how well the smartass governor does for battery life.
Again, once I reach 5% I'll try to take a screenshot of how long the phone went without being recharged.
Spitemare said:
I took a look at this and found some stuff that might be encouraging.
The problem is the gorram encrypted bootloader. It's not easily possible to swap a built-in hardware driver with a compiled module. If someone with more Linux kernel experience than I wants to take a crack at it then by all means...
Click to expand...
Click to collapse
Is this difficult to swap in simply because of the nature of what we'd be switching out, or does the eFuse chip and whatever other protection play a role here? I would try compiling your modified code and putting it on my device, except I'm afraid there will be some protective measure or something like that would brick my phone if I try. That and the fact that I have no idea what libraries and stuff I would compile this against.
So unfortunately my phone rebooted halfway into the experiment so there is no screenshot for you all. I will say my phone made it just under 36 hours (6:30 Friday to 18:15 Saturday) on this governor. With some moderate internet browsing and way too many YouTube videos I'm quite happy with the outcome using this governor.
ZaneKaminski said:
Is this difficult to swap in simply because of the nature of what we'd be switching out, or does the eFuse chip and whatever other protection play a role here? I would try compiling your modified code and putting it on my device, except I'm afraid there will be some protective measure or something like that would brick my phone if I try. That and the fact that I have no idea what libraries and stuff I would compile this against.
Click to expand...
Click to collapse
I've already compiled the modified module and tried to load it. The phone just prevents it from loading since the hardware interrupts are already bound to the compiled in driver.
eFuse doesn't prevent new kernel modules from being loaded. Since a kernel module can alter almost anything not being able to change the kernel isn't too much of a problem. What a kernel module can't really do, however, is change device drivers. There's not a really clean way to unload a device driver module since it binds to hardware interrupts and you can't really unbind that once the phone is up and running. If you want to replace a device driver with an alternate module you have to load the module before the original module is loaded sometime during the boot process. With compiled in device drivers though that's not really possible.
Basically we're in a situation where we need to load an alternate version of the device driver in module form before the compiled in device driver binds to the hardware interrupts. That would take some sort of ramdisk containing the altered driver module and we can't do that with eFuse.
The other option would be to write a module that hijacks calls to the particular function in the device driver and replaces that call with an alternative. That's got loads of problems though and is potentially dangerous. It would take someone with a lot more kernel experience than I have to write such a thing.
I installed this and didn't see any improvement in battery life until I ran
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
It said it was still ondemand. I checked scaling_available_governors and smartass was not in there, so I went ahead and installed the zip again... still doesn't work.
I went ahead and took a look at /etc/startup/smartass.sh. The permissions were right, so I ran /etc/startup/smartass.sh. I then checked /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor and it was set to smartass.
Can anyone shed some light on why this script is not running on boot? I'm running the leaked Motorola Gingerbread ROM if that makes a difference.
Spitemare said:
The other option would be to write a module that hijacks calls to the particular function in the device driver and replaces that call with an alternative. That's got loads of problems though and is potentially dangerous. It would take someone with a lot more kernel experience than I have to write such a thing.
Click to expand...
Click to collapse
I see. I'm guessing the way to hijack said calls would be through directly modifying memory, right? That definitely is not something that sounds easy to do.
I tried running smartass.sh through an init.d script... still nothing. I actually had to make the /etc/init.d/ directory, so I figured that init.d scripts aren't supported on the Motorola Gingerbread rom... strange. I'll look for somewhere else where I can run stuff on startup.
Look for /etc/install_recovery.sh. That file is run by /init.rc if it exists. It's how the overclock stuff gets loaded on Fission. What the update.zip does is back up that file if it exists and then append /etc/startup/smartass.sh to the end. Just add the following to the end of /etc/install_recovery.sh if the update.zip doesn't add it:
Code:
/etc/startup/smartass.sh

Advanced Tricks for Saving Battery (it Works)

EDIT: Last Update: 10th Sep 2011 with New INfo (trick no.7)
Advanced Tricks for Saving Battery
The following tweaks can greatly save battery if you done it right. But bear in mind that risk are relatively higher since its involve those deep system components.
If you know what you're doing, there is not much to worry about.
Note: I will not responsible for the any damage of your device
My Result:
Before: After moderate usage of 20 hours, Battery Left 30% - 35%
After : After moderate usage of 20 hours, Battery left 70% - 75%
Note: Battery Usage is very subjective matter. The numbers here is not trying to give you an exact calculation, it just trying to give you a feel of how the battery saving. But i have try my best to be consistent on the usage pattern, cpu loads and temperature to do this comparison. Of cause, you might discover different result on your device. With different ROM, kernel, radio, usage, screen brightness, all the other factors come into play, the result would varied.
Kindly please post a feedback on how it works on your device>
1. Use Undervolted Kernel / ROM
- Undervolted means that your device will use relatively less battery to give the same CPU frequency
- (e.g. normally CPU run at 1.61ghz @1350mv, after undervolted it may require only 1275mv at the same frequency)
- Tested on my device, it is the most effective tweak to increase battery life (I reduced -100mv at most of the CPU frequency (except 1), give me about 30-35% more battery)
- Because the undervolting value is varied depend on the ROM and kernel, so no point i post all the numbers here. (PM me if you need the list)
- Ask at your respective ROM thread for the availability of undervolted tweak
- If you wanted to try to change the undervolting value, i recommended to use OC/UV beater2 http://forum.xda-developers.com/showthread.php?t=1207546
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Because the tool have ease-to-use interface (no need use terminal emulator), just few taps will do.
- Most importantly, we can test new UV value with "Temp Activate", if the device freeze, just restart and it will go back to the last good state (last best config for you, instead of kernel's default value), and no need to flash the vddreset.zip / other reset.zip
2. Use "GSM auto (PRL) to save more juice while still connecting through 3G
- in the phone setting>wireless and network>MobileNetwork>NetworkMode
we are only allow to choose GSM only/ WCDMA / Auto between two
- but if you use type "*#*#4636#*#*" to phone Information, you can choose more type of networkmode. It is claimed that choose "GSM auto (PRL)" allow you to save more battery (cell standby) while allow you to connect to 3G network.
- This might somehow depend on your carrier / provider
- Please provide feedback on this. THanks
3. Try out different CPU Governor
- nowadays a lot of ROM have advanced CPU governor like Smoothass, Smartass, Interactive, etc.
- Try different combination during wake up and screen off to look for the best setting that let u save more juice
- This are my settings:
Governor during awake = On Demand
Max Wake = 998mhz​ Min Wake = 122mhz​ Governor during Screenoff = PowerSave
Max Sleep = 307mhz​ Min Sleep = 122mhz​ - NOTE: if you put min sleep too low, there is a chance that you device might freeze and won't wake up!
- I personally recommended "DaemonController" from Sybregunne for controlling the CPU governors and frequencies. It is a ease-to-use, yet sophisticated enough for the purpose of OC/UC. It is my favourite OC/UC controller since it released.
- DaemonController is a smart tool that it will bypass virtous daemon, and use direct frequency if we choose governors that is incompatible with the virtuous o/c. Hence, only 1 deamon is run which is more efficiency.
- Refer to the original thread here for more details: http://forum.xda-developers.com/showpost.php?p=16726715&postcount=2
- Quoted from original thread: "It is a Graphical tool that allows users to change andrev_oc/virtuous_oc frequencies and governors without having to reboot their device. Confirmed to work on Android Revolution HD 6.1.0 and a lot more ROMS.
4. Use AutoKiller Memory Optimizer
- This tool is different from other app killer
- It fine tunes android systems inner memory manager to keep your device fast over time.
- As a side effect it also lowers battery consumption.
- At certain free memory level (e.g. 250mb), the android os will automatically close those apps not in use (according to original android os logic)
- The lowMemoryKill level can be modified to suit your style of usage. It is to find a balance point between "not killing the apps you're need" and "sufficient free RAM to avoid sudden out of RAM / Laggy ".
- What i experience before is that these values are set to be too low. It keep most of the apps opened in background. So we can use the apps much faster and consump less cpu. Result: we have lower free RAM. The tradeoff: When I open heavy game, I experienced run out of RAM (it tell me not sufficient RAM to run).
- When the values set too high. It will kill the apps in background faster. So we will spend more cpu, and slower to reopen it. Tradeoff: you will have alot of free RAM back there. But for what?
- Therefore, it is to find the middle point that satisfy both ends. Generally, users with more apps better off with lower lowmemorykill value. Users with less apps (always switch between fews app only), are better off with higher lowmemorykill value.
- MY case: I only have 25+ apps installed. and Only use few apps (other rarely use). THis is my setting (in Pages): 3072, 8192, 16384, 50688, 58368, 76288. I have experimented with many values for 3 months. Just 1 month ago, i found these value suit me very much. It keep balance between the two tradeoff mentioned. Maybe you can try to figure out your own.
- Generally, we play with the last 3 numbers only. The first 3 numbers is related to:
(Foreground app)
(Visible app)
(Secondary server)
Which offer no significant benefits if we kill them.
5. Use Autostart
- Instead of closing them, it would be better if we don't let the app start from the begining
- You can choose to disable those app that u feel unnessary, so that they will not run during your phone startup
5. Check your Battery Consumption
- Download "Current Widget" or "battery monitoring widget" from market
- these apps will monitor your battery usage and recoded in a log file
- This is the normal consumption rate (varied across ROM, kernel and CPUI frequency and other factors)
Sleep/ScreenOff Consumption: 2mv - 8mv
WakeUp Consumption (no wifi, just use local apps, no gaming): 150mv - 250mv
Gaming consumption: about 300 - 400 mv (varied across diff games)
- To be comparable, it is suggest that you try to compare the consumption rate with your friends with same ROM, kernel, radio)
- With the monitoring log, you will able to notice adnormal peak / adnormal high drainage easily
6. Use "Battery History for GingerBreak" to check what running in background (Especially thanks for Saluco for this useful way to check battery drainage )
- this is a free tool can be download from xds forum http://forum.xda-developers.com/showthread.php?p=13328125
- Go to "Partial Wake Usage" to see what apps running when your device is sleeping
- Please "thanks" the developers of the apps for creating and letting us use his useful tool
- Give the screenshot of "Battery History for Gingerbreak" to the community of your ROM, this will give them more clues for them to help you
- For consistency, please monitor your usage for at least 3 hours (@ frequency 1 - 5 minutes) in order to have sufficient data and reliable readings.
7. Disable "Receiver" of application using AutoRun Manager (Really for Advanced User ONLY)
- Receivers are the "condition" where if it is fulfilled, the app will be executed
- For stance, Google Map has 8 receivers. Either 1 of these 8 conditions is met, google map will be open and run automatically.
- Now we actually try to disable this autoRUN by disable the "receiver" = means that even if the condition is met, the app won't run
- TO do this we need donated version of AutoRun Manager (available in market) to do this, go setting enable advanced mode
- Go second tap of the menu (advanced menu) to disable the receiver of particular app
- It is HIGHLY recommended to disable 1 receiver at 1 time, so that you can know the impact and trace back to the receiver
- you might get confused if you disable too many receivers at 1 time
- WARNING: ONLY disable those receiver that you know. DIsable system's receiver will make your system instable. So better only disable the user app.
- WHY IT IS USEFUL? Example: i used "Battery History for Gingerbreak (tip 6) to found out that "Facebook for android" is locking my device from being deep sleep (as it shown as high minute usage in the "partial wake menu"). Then i wanted to disable the feature of the that keep my device awake. THen i disable the "awake service" receive of it. Then it will help to save more battery by preventing those app that run automatically when certain conditions are met (example: Wifi-on, location changed..etc_
<More humble sharing is coming>
<<< Please click on "Thanks" if you found this post helpful, your thanks are very much appreciated >>>
------------------------------------------------------------------------------------------------------------------------------------------------------------
(The content is talking about HTC Desire HD, but the tricks can generally apply to any other smartphones, Hope it help you~)
Well it’s been 7½ days since I reviewed the Desire HD in which I said I didn’t want to comment on battery life until I’ve used it for 10 days. Tomorrow morning at 10am will be the 10th day, but I’m ready 14 hours early!
I’ve seen a lot of talk on the internet about terrible battery life, I’ve even experienced it myself (10% per hour on standby) but not wanting to give it a bad name without being sure, I’ve waited. I can now declare – the Desire HD does not have a battery life issue!
Read on after the break for how you can make yours last 24 hours on one charge!
Let me explain first of all, why I don’t think there is an issue. My Desire HD, last night and today, has shown better battery life than my Samsung Galaxy S and Nexus One ever did. It will probably continue to improve for the next week too.
Yesterday, after 10 hours of medium to light use (screen on was 40 minutes), I was still at 59% battery.
Today, I’ve been off for 12 hours and I’m still at 48%. The screen has been on for 50 minutes, 30 minutes of streaming music via bluetooth, 1 hour of podcasts playing through my earphones and a few text messages. Generally, on standby (and not being used) on 3G while at work, it was only using 2% an hour! I’m not [/B]sure any Android phone has ever managed that low consumption for me.
I don’t know how HTC have managed it from a 1230mAh battery, but if anyone manages to produce an ‘extended’ battery that fits, this thing could last a very long time. As for what the Desire Z might be able to do, wow!
So, what have I done to get this? As well as the usual tips I’ve given, here’s a few more for your Desire HD -
Remove apps you don’t use. You’ll need to root your device with VISIONary and then remove system apps like Flickr, Twitter, Stocks, Peep, Gmail and Friend Stream using Titanium Backup.
Syncing kills! Go to Settings -> Accounts & sync and see what apps are set to sync. For me, a big improvement came from turning off syncing my Facebook ‘Live Feed’ (this seems to turn back on at reboot). Also, only have one of the two Facebook apps syncing at all. For me, I stopped HTC Sense, News and Weather from syncing. If you really want these, maybe just drop their frequency an extra hour or two.
Lower e-mail checks. I have 4 e-mail accounts that K9 Mail checks for me. Like the other syncs, I dropped them from 15 minutes, to 1 or 2 hours, 4 for the less important one. Definitely don’t use the push e-mail setting on K9.
Try different connections. Go to Settings -> Wireless & networks -> Mobile networks and change Network Mode. For me, for some reason on Orange in London ‘WCDMA only’ works the best for me.
Calibrate. After 7 to 10 days use, calibrate your battery and you should be good to go, simple as that!
**ADDITION** Once in a while (if not always) try charging via USB rather than mains. It has been reported this is better for the battery and will actually provide better life from one charge. I can’t necessarily say this claim is true, but I have often seemingly got better life from a USB charge. Try it!
Bear in mind, there are people reporting much better life than I get. Some say they can last over 40 hours on one charge.
Also, make use of the ‘Power Saver’ in Settings. I’ve put mine at 30%. When this kicks in I tend to find battery consumption might even drop to 1% per hour, which means it may be possible you could last for 3 days on one charge! I can’t wait to see what happens when we get proper root and can use custom ROM’s!
(source:http://hemorrdroids.net/htc-desire-hd-battery-life/)
<<< Please click on "Thanks" if you found this post helpful, your thanks are very much appreciated >>>​
Looking for general guideline for your Lithium Ion Battery?
Have a look at this http://forum.xda-developers.com/showthread.php?p=15631703#post15631703
i might have to try this on my fassy
Is it necessary to have one of these threads every other day?
Sent from my HTC Sensation 4G
Turn off your phone. Battery life will be awesome.
Otherwise carry spare chargers and/or batteries. Simples.
DirkGently1 said:
Turn off your phone. Battery life will be awesome.
Otherwise carry spare chargers and/or batteries. Simples.
Click to expand...
Click to collapse
Lol. I have 3 spare batteries, girlfriend has 2. Still chew through em in a day
ADR6300
Not really sure anything here is new information...
Cheers, I'll try a couple of these.
How about putting your phone into Flight mode while at work.
I, for my part, get my mails to my desktop machine anyways and i like the fact, no one can distract me while I'm hacking in a gazzillion lines of code.
If it's important my lazy colleagues can use their legs and walk into my office.
flight mode is as good as switching off your phone
My battery already goes down like 1% every hour when the screen is off. So it's fine to me. It's only when I'm actively using WhatsApp, Facebook and Twitter that it goes down faster.
Main killer of the battery is the screen. The screen with high backlight burns through it. While idle it hardly drains.
thanks for this
servellia said:
How about putting your phone into Flight mode while at work.
Click to expand...
Click to collapse
I would get fired if I do that
I think you just made s regular phone from your smartphone
Sent from my Desire HD using XDA Premium App
Good reminders - thanks.
cooooll thanksss
DirkGently1 said:
Turn off your phone. Battery life will be awesome.
Otherwise carry spare chargers and/or batteries. Simples.
Click to expand...
Click to collapse
niceeeeeeeeeee
Thanks for the tips, although if Google just closed maps instead of having it open all the time!
Bet that would save some battery!
Good one to see... thanks for the post
I´ll try this...
Thanks!
I use Juice defender beta with ultimate features and i did calibrate my battery. It's 1:26 AM and through moderate to heavy usage i'm still at 41%. It still has a lot to do with your CPU speed (over/under clocked), ROM, Radio and kernel. I'm CM7 Lordmod's CFS kernel and the latest Radio from AT&T Stock (I have the Inspire the Desire HD's identical cousin.) and a RIL to match. Oh and I'm Overclocked to ~1.2 GHz using the ondemand governor.

[Q] How to Get Amazing Battery Life

Hey everyone,
Lately I've been in the works of trying to get better battery life, as I only get about 2 - 2.5 hours of on screen time. I've seen other users get anywhere between 5-7 hours. I do use facebook, and have uninstalled the official facebook app for the friendcaster one, but have yet to still hit anywhere near that amount of time.
Out of curiosity, and hopefully future reference for other users, what are some great ways to boost battery life? Do you use apps? Uninstall software? Please, do share!
justin0025 said:
Hey everyone,
Lately I've been in the works of trying to get better battery life, as I only get about 2 - 2.5 hours of on screen time. I've seen other users get anywhere between 5-7 hours. I do use facebook, and have uninstalled the official facebook app for the friendcaster one, but have yet to still hit anywhere near that amount of time.
Out of curiosity, and hopefully future reference for other users, what are some great ways to boost battery life? Do you use apps? Uninstall software? Please, do share!
Click to expand...
Click to collapse
Manually controlling screen brightness was the biggest increase for me. The other one that helped was 2g data when i turn off the screen.
Freeeeze apps with Titanium Backup. You wont miss anything neither you loose perfomance, no you gain.
Sent from my HTC One S using xda premium
Change notification updates to suit your needs. Stuff that you don't need to know right away, lower frequency or turn to manual. For instance:
- Change weather updates to every 1-2 hours, unless you really need to know that it changed by a couple degrees as it does.
- Decrease facebook notifications (big one. If you use it a lot, then keep it high, but realize that this WILL drain battery.)
- Manually update stocks (again, if you don't need them instantaneously)
- Blog & News apps usually set notifications on by default, disable or lower frequency on them
- Lower screen brightness
- Turn display to auto sleep 30sec-1min tops
Note that while some of the notification controls can be found within the system settings, many apps will require you to go to their individual settings to adjust them.
All depends what you do with it. Navigation, internet, talk time and intense games all suck up more battery. That doesn't mean you shouldn't do that stuff, but it's just the way it is on any device.
Simple, root and install CPU sleeper, that should give u a lot of battery life.. at least that's how I do it and today I unplugged my phone at 10 am and its 9:25 and I have 65% left
Sent from my HTC One S Unlocked
using XDA Premium
justin0025 said:
Hey everyone,
Lately I've been in the works of trying to get better battery life, as I only get about 2 - 2.5 hours of on screen time. I've seen other users get anywhere between 5-7 hours. I do use facebook, and have uninstalled the official facebook app for the friendcaster one, but have yet to still hit anywhere near that amount of time.
Out of curiosity, and hopefully future reference for other users, what are some great ways to boost battery life? Do you use apps? Uninstall software? Please, do share!
Click to expand...
Click to collapse
Almost all of em are running on custom roms I beat and I'm the one you said that with 5 - 7 hours screen time everyday. There are many things to do to maximum the battery performance and first thing is root and unlock your phone and flash a custom rom. If you are on stock rom, it would be almost a no go.
1. Flash ViperOneS 1.2 rom or One maximuS V2.5 rom, they are the best sense based rom with the greatest battery performance I've seen.
2. If you don't need sense, flash cm10 or aokp. They should give you more battery because they aren't as resources hog as sense. However, you couldn't use sense UI and access to the dedicated image chip in camera.
3. Turn the brightness level down to as low as possible, this is the major battery killer.
4. Switch to 2G when you are in standby mode. Disable fast dormancy, it will save you battery in standby mode at the cost of connection speed when you surf web it will be slower but it does save you some battery in standby status. You can disable it in ViperOneS's tweaking but you'll have to do it manually in all other roms but that is very very easy. Personally, I let it on because the 3G speed isn't good in Hong Kong, too many iphone/android everywhere here, over crowed. In every street in HK are messed up by SGS3/Note/Note2/Iphone, think about how horrible it is.
http://forum.xda-developers.com/showthread.php?t=1684604
5. Turn off wifi when you don't use it, disable max performance in wifi setting. Turn the auto-sync off when you don't need it too.
6. Just remove all apps and bloatware you don't want. When you flash ViperOneS/maximuS 's add-on, you will have a list to do it.
7. Some bloatware will still be there after flash the add-on. You have to download systemapp remover to del those apps.
8. Some apps like to run as services mode and they drain battery in background like youtube, google map, playstore. You need to download AutoStarts and force them to disable as an auto-startup services after bootup.
9. Download Systempanel and check any non-system apps running at services mode in background. Force them stop in control panel. I only have four non-system apps let them running as services like whatsapp.
10. Don't run too many widgets, I only have two widgets on. Don't use 3D wallpaper.
11. Use opera mobile to surf web. The stock browser and chrome should faster but sometimes they drain battery real quick.
12. Turn the cpu mhz down when you are just doing some normal/easy works because the stock kernel has very suck governor performance(only ages governor: on-demand, save battery, max performance) and drains battery fast. Turn the cpu mhz back to high level only when you play games, this will save you great battery. Don't worry S4 CPU is still very powerful even you set it to half speed. You can flash custom kernel if you don't like to turn cpu speed up/down, they introduce more efficiency governors to handle it automatically but all 3rd kernels are likely to have some bugs at this time. There aren't many active developers out there.
13. After a heavy or long using like a full battery cycle, reboot the OS to clean up the cache/memory leak.
14. Use nova launcher or apex launcher to replace the sense launcher.
Well, I basically do ALL the stuffs above and got 5 ~ 7hrs screen time. Today, I do surf the web like mad(4hrs), 1hr 720p movie(software decode in MX Player as it's a rmvb movie), 30mins+ music with poweramp. Guess what? I got exactly 5hrs screen time and 1% battery left when I get back to home, very lucky though. I think my usage is a bit high today, normally I have 6hrs screen time average.
A lot of people on stock ROMs can get that sort of battery life too.
This is mine on stock:
http://forum.xda-developers.com/showthread.php?p=27010378#post27010378
Also wrote a quick guide, pretty similar to the above:
Terminator19 said:
Leave "best wifi performance" turned off.
Disable any apps that you don't need in settings>apps>click on app>disable at top right
Don't have weather etc. syncing every 30 minutes etc. set to something like 2 or 3 hours.
Manually control the screen brightness as auto makes the battery life worse, install qbright from the market and set a gesture so when you swipe up or down on the homescreen or dock icons this app is opened like the below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have it set to currently; night is 0%, indoor 30%, outdoor 50% and sunshine 70%
Keep wifi on as much as possible and set to never sleep
Keep GSM mode selected instead of WCDMA in mobile network settings as one; the voice reception is stronger and better battery life even when connected to wifi I found.
If you aren't going to be using any internet at all for quite while (meaning no need for weather, emails to sync etc.) then turn wifi and mobile network data off.
Only enable WCDMA when you want to browse or stream something (only when wifi is not possible)
Don't use any form of a task killer, if an app isn't responding just use the built in one.
Click to expand...
Click to collapse
WOW! Thanks guys! I'll definitely be trying these tips today.
Lets keep'em coming!
I'm running CM10 and all I did was lower my CPU clock to 1134 and I get great battery life. I also try to keep my wifi off as often as possible. I have auto-brightness and auto-sync on and usually get 6-7 hours and don't have to charge it all day. I prefer being able to use the better governers on top of the decreased frequency, but I haven't been able to get the Fusion AOSP kernel working on CM10 for quite some time.
Jewcifer said:
I'm running CM10 and all I did was lower my CPU clock to 1134 and I get great battery life. I also try to keep my wifi off as often as possible. I have auto-brightness and auto-sync on and usually get 6-7 hours and don't have to charge it all day. I prefer being able to use the better governers on top of the decreased frequency, but I haven't been able to get the Fusion AOSP kernel working on CM10 for quite some time.
Click to expand...
Click to collapse
I've always thought about under-clocking my CPU. I'll give that a try too. I'm sure i don't need the full 1.5ghz. I'll play around with them and see which will fit my needs .
My battery lasts twice as much just by turning the mobile internet off. I turn it on only when I need to surf the web/sync my apps and turn it back off right after.:victory:
Change governor to smartass2 and set your max CPU frequency at 1ghz. Also you can install app called llama for profiles switching and battery saving.

8 Hrs of MASSIVE SoT on RR O 32Bit with Loony Kernel

THE SoT STATED HERE IS ACHIEVED ON MODERATE USAGE LIKE YOUTUBE, WHATSAPP, SOME BROWSING ETC.
YOU SHOULD GET 6 HRS OF MINIMUM SoT & MAXIMUM SoT IS 8 HRS.
NOTE : SoT DEPENDS UPON YOUR USAGE. IF YOU ARE A HEAVY GAMER, THE SoT WILL NOT BE 6 HRS. THIS THREAD IS FOR "MODERATE" USERS ONLY, NOT HEAVY USERS.
I know its hard to believe but trust me I'm getting 8 hrs of SoT on moto g4. After trying so many tweaks I could get only 6 hrs of SoT but I suffered lags and lack of performance. But with the tweak I'm going to share with you is way better than any other tweaks because you will not face any lags, you will have best performance with best battery backup.
Here's how to get 8 hrs of massive long lasting battery backup :
1. Download and flash the RR Oreo 32bit with Gapps & magisk.
2. Download Loony kernel 32 bit (lk-6-dts) and flash it.
3. Download the AKT Zip from https://forum.xda-developers.com/moto-g4-plus/themes/akt-advanced-kernel-tweaks-athene-t3801166
4. Flash the AKT zip in twrp and reboot.
5. Enable Terminal app from Developer Options.
6. Open Terminal app and type su then press enter.
7. Grant root access.
8. Now type AKT & type 1 press enter, again press 1 & enter, now type 8 & press enter.
9. Download Spectrum app from Playstore.
10. Open the spectrum app, grant root access and select Performance. ( Yes, performance profile! I tried the Battery profile but I don't know why the performance profile is giving more SoT as compared to battery profile.)
11. Reboot.
12. Charge your device from 4% to 98% (Don't unplug the charger & don't use your phone untill it reaches 98%)
Enjoy massive SoT of 8 hrs on moto g4!
what about ur signal quality ? could you give us screen shots ?
THere's even a 32 bit version of RR? Neat.
hataw said:
what about ur signal quality ? could you give us screen shots ?
Click to expand...
Click to collapse
The signal quality and the performance of the phone is excellent! You won't notice any lag ! I will add screenshots later.
pissgoat said:
THere's even a 32 bit version of RR? Neat.
Click to expand...
Click to collapse
Yes & Its buttery smooth !
What about stand-by battery? I'm currerntly getting 2% idle drain per hour with any nougat or marshmallow rom. I remember that idle battery backup in oreo was bad.
loque036 said:
What about stand-by battery? I'm currerntly getting 2% idle drain per hour with any nougat or marshmallow rom. I remember that idle battery backup in oreo was bad.
Click to expand...
Click to collapse
There is no high idle drain problem.
Sounds great. Will wait for more feedback before I decide to go from stock to RR Oreo custom Rom.
I'm gonna test it today and see what SoT i get with youtube vanced, instagram, telegram and geometry dash.
"8hrs screen on time" is not achieved by following some step by step guide. Screen on time depends on one's usage. It is not necessary that other's will get the same sot as op by following some steps. Different users, different usage patterns, different preferences. No custom kernel guarantees xx amount of sot, they are made to let people enjoy features that might not be present in stock kernels. Although it is fine that op is sharing his preferred settings for any kernel but it might be not applicable for everyone.
For instance I am a light to sometimes moderate user. I easily get through a day (12-14hrs, who uses his/her phone 24hrs!?) with a single charge (mostly wifi than mobile data) and hardly ever looked at my screen on time. Device stays in battery mode when idle and balanced mode when I am using/interacting with it, I don't play games. Experiences vary for users as per their usage and things need not be same for a light user and a gamer. So better understand your individual usage, use the device accordingly and you'll be satisfied with the results.
lCrD512 said:
"8hrs screen on time" is not achieved by following some step by step guide. Screen on time depends on one's usage. It is not necessary that other's will get the same sot as op by following some steps. Different users, different usage patterns, different preferences. No custom kernel guarantees xx amount of sot, they are made to let people enjoy features that might not be present in stock kernels. Although it is fine that op is sharing his preferred settings for any kernel but it might be not applicable for everyone.
For instance I am a light to sometimes moderate user. I easily get through a day (12-14hrs, who uses his/her phone 24hrs!?) with a single charge (mostly wifi than mobile data) and hardly ever looked at my screen on time. Device stays in battery mode when idle and balanced mode when I am using/interacting with it, I don't play games. Experiences vary for users as per their usage and things need not be same for a light user and a gamer. So better understand your individual usage, use the device accordingly and you'll be satisfied with the results.
Click to expand...
Click to collapse
I already mentioned that the SoT depends upon one's usage. If you try these steps, you will surely notice change in the SoT.
I had about 1.5 hours of SOT
Didn't really work for me
edit: my battery was total trash and replaced it, trying it out right now
edit 2: still getting 3 hrs sot. my issue was that my phone locked it self sometimes just vibrating without doing anything, having to restart. only happens when i flash akt
lCrD512 said:
"8hrs screen on time" is not achieved by following some step by step guide. Screen on time depends on one's usage. It is not necessary that other's will get the same sot as op by following some steps. Different users, different usage patterns, different preferences. No custom kernel guarantees xx amount of sot, they are made to let people enjoy features that might not be present in stock kernels. Although it is fine that op is sharing his preferred settings for any kernel but it might be not applicable for everyone.
For instance I am a light to sometimes moderate user. I easily get through a day (12-14hrs, who uses his/her phone 24hrs!?) with a single charge (mostly wifi than mobile data) and hardly ever looked at my screen on time. Device stays in battery mode when idle and balanced mode when I am using/interacting with it, I don't play games. Experiences vary for users as per their usage and things need not be same for a light user and a gamer. So better understand your individual usage, use the device accordingly and you'll be satisfied with the results.
Click to expand...
Click to collapse
By the way, have you tried steps of the thread?
DhirajKale789 said:
By the way, have you tried steps of the thread?
Click to expand...
Click to collapse
Nope, I have my own presets that work fine for me, I am not recommending a gaming profile for long battery backups lol. Neither any other tweaks with my kernel atleast as it already comes with various profile support through spectrum.
SoT depends of everyones usage, I really noticed a difference, even leaving my phone overnight without charging. I'm not near 8 hours or 5 hours but it's better than my config.
I'm getting 7 hrs 30 mins of SoT after trying your steps. Thank you !!!
Here are my results (brightness 40-50%, leaving phone overnight with WiFi and GPS):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Not bad. Usually with my settings I get around 3 hours SoT with the phone overnight or with very intensive gaming.
Also I don't know why the phone isn't entering deep sleep mode while i'm not using it.
I went ahead and gave it a try. The RR Oreo 32bit Rom is faster than the Stock Nougat. It seems very stable and I think I am going to stick with it. I think the mods added to the RR rom did make a difference like the Loony kernel, AKT and Spectrum app performance profile. I have been playing around with the settings and customization for now and will get back with how it is the battery performing.
@DhirajKale789, Do you know if there is ported camera for the G4 Oreo 32bit or what other options are there? I tried Cameringo, Camera MX and Footej and the capture is already closer to the the objects. As if it was already pre-zoomed and with the Moto Camera or the default you can get more in the picture. The only one that doesnt start zoomed in is Open Camera.
Danny1976 said:
I went ahead and gave it a try. The RR Oreo 32bit Rom is faster than the Stock Nougat. It seems very stable and I think I am going to stick with it. I think the mods added to the RR rom did make a difference like the Loony kernel, AKT and Spectrum app performance profile. I have been playing around with the settings and customization for now and will get back with how it is the battery performing.
@DhirajKale789, Do you know if there is ported camera for the G4 Oreo 32bit or what other options are there? I tried Cameringo, Camera MX and Footej and the capture is already closer to the the objects. As if it was already pre-zoomed and with the Moto Camera or the default you can get more in the picture. The only one that doesnt start zoomed in is Open Camera.
Click to expand...
Click to collapse
I use the OnePlus 5 camera with watermark port. It works fine and records video.
Hallo. what about heating with looney kernel? i am getting so hot with stock rom and with RR 32 bit resurected kernel. and all roms i get heating issues while gaming coc or cr even

Categories

Resources