[Registry tweak] battery life boost - Windows Phone 7 Development and Hacking

hklm\localmachine\system\currentcontrolset\control \power\state\On/Default - change to 1
Tested on intrinsic rom
this will put yr phone from high performance mode to lower powered mode
U will not see any difference in speed or performance

Please do not double post.. This "tweak" did not warrent a new thread...

Related

Does Overclocking eat up battery life?

Does overclocking have effect on my battery life? not successful in searching a thread on this. Thanks.
HI
I mentioned a few things about it in this thread, if you scroll to my bit, but this is no hard and fast tes, just my observations.
http://forum.xda-developers.com/viewtopic.php?t=59473
use xcpuscalar and set it to scale up and down based on proc. percentage, i find i can even save battery like this, whilst having the performace of a permanent OC when i need i.
@fa147 will do that.
i actually noticed that when i removed xcpuscalar and returned to normal i was able to save almost 2X my bat life.
@midget_1990 I have not tried auto scale but wouldn't this make the system slower instead because it would only speed up when there is already a lot of load and might cause hangups?
I used to hackmaster to a) save battery when i'm not using my device by underclocking and b) to scale up and o/c the performance when I need it (like with media playback etc)

Overclocking?

Just got some questions
How are you guys overclocking?
How fast is your top speed?
Is it stable?
Is battery life affected? If so, how?
Anything else you noticed after overclocking?
ultimatebuster said:
Just got some questions
How are you guys overclocking?
How fast is your top speed?
Is it stable?
Is battery life affected? If so, how?
Anything else you noticed after overclocking?
Click to expand...
Click to collapse
all phones overclock different.
so to answer your questions (in order)
1. i use system tuner to overclock to 1.19ghz
2. 1.26ghz but my old evo toped at 1.19
3. it is stable for me at 1.19
4. battery life isn't affected all to much from the stock speed it drains about the same rate. (998mhz)
5. all i noticed was stuff was a little faster/smoother on sense roms.
to find your top speed just get system tuner and set the governor to performance (this pins your cpu at the top speed) then just keep increasing the max speed up 1 increment at a time until it freezes and reboots (you may have to pull the battery) so if it freezes at 1.22ghz then your top is 1.19 (1 step below the crashing point) and for stability i would stay at 1.15ghz (step below top) because when you near the threshold where it freezes/reboots it tends to get a little laggy and jumpy.
then when you find your stable point take your governor off of performance and instead put it to something else like interactive or smartass or whatever your governor of choice is on the kernel you are using at the time.
hope this helped

[Mod/Fix] [No Root] Control Overheating and Performance with Thermal Engine

Hi Everybody,
After v45 update, we all are facing huge drop in performance in our Redmi 1s.
One of my dear provided one patch by modifing some system files.
But that patch will yes revert back the performance BUT IT WILL ALSO BRING BACK THE OVERHEATING ISSUE.
So i am presenting you all with this patch.
It will restore your performance and also will control overheating.
NOTE: THIS MOD ONLY CONTROLS MAX CPU+GPU FREQUENCIES AT HIGHER BATTERY TEMPS. SO IT WONT HARM BATTERY PERFORMANCE AT ALL.
How to do:
NO ROOT IS NEEDED NOW.
JUST FLASH ZIPS EVEN THROUGH STOCK RECOVERY.
How to undo:
Just flash undo zip.
Download:
Updated in attachments as recovery flashable zips.
NOW IT CAN BE FLASHED THROUGH STOCK MIUI RECOVERY.
What have i done:
(1) somebody ask me to remove some of the line from the file but if we remove them our redmi will start overheating as it wont control the cpu.
So i have not removed them but i have set them to frequencies which will neither make phone overheat nor will hang it.
(2) file is patched with little help from my nexus.
(3) in the v45 update the cpu was limited to use less than 1ghz. It hangs the phone. So i changed it.
Now reboot and you device will go easy.
Please comment if you find any issue or suggestions.
A thanks will motivate me.
Also if you want to use my mod in any rom then plz give credits.
Credits:
Ryuinferno : for the wonderful script to sign zip files.
Notepad++
My Nexus
Update (17-11-14)
1. Removed density data from patch. Now only used cpu and gpu to control it.
2. Uploaded Hard Gaming, Power saving and Balanced patch for specific usage.
3. Cleaned and power saving based on original parameters.
What have i done :
Lets have a close look at the original \system\etc\thermal-engine-8226.conf file:
algo_type monitor
sensor batt_temp
sampling 1000
thresholds 380 390 420 500 550
thresholds_clr 370 380 400 450 500
actions cpu+hotplug_2+hotplug_3 cpu+hotplug_3 cpu+hotplug_3 cpu cpu
action_info 998400+1+0 998400+1 787200+1 600000 600000
In above lines, the sensor is batt_temp so here battery temperature is observed.
When the temperature of bettery reaches 380 (i.e. 38*C) then cpu+hotplug_2+hotplug_3 will be performed. Means cpu will clock at 998400 mhz and core2 will be hotpluged. Here your device will start hanging as 1.6 ghz cpu is asked to run at only 0.998 ghz with core2 hotpluged.
Similarly, at 390 (i.e. 39*C) core3 will also hotpluged.
35*C is normal temperature. But you will reach around 39-40*C even at light internet browsing/gaming.
At 42*C your cpu will die with only 0.787 ghz speed. This is less than half of 1.6 ghz.
Now what have i done is i have pushed the limits to little high level.
I have stopped hotplugging of cores and to low down the temp. i have used cpu & gpu both.
algo_type monitor
sensor batt_temp
sampling 1000
thresholds 390 410 420 450 550
thresholds_clr 380 400 410 440 500
actions cpu+gpu cpu+gpu cpu+gpu cpu+gpu cpu+gpu
action_info 1344000+450000000 1344000+320000000 1190400+320000000 787200+200000000 600000+200000000
Here at 39*C the cpu will go to 1.34 ghz but the gpu will remain at max of 450 mhz.
Then at 41*C the cpu will remain at 1.34 ghz but gpu will lower down to 320 mhz.
Likewise, at 420*C the cpu will go to 1.19 ghz and gpu will remain the same.
Above 45*C is too hot so the device is really needed to cool down. So above 45*C both cpu and gpu will lower down a lot for enough cooling.
Again when the temperature with lower down, you will start getting the normal speeds.
All the above information is also observed closely with the help of cpu-z apk.
is it really works ??????
why you didn't just simply configure the ondemand governor to do the same thing? Is more easy and can be done manually or using Trickster mod.
Thanks a ton for the patch but flashable zip file be a lot easier to install. So please make a flashable zip.
pgreed said:
why you didn't just simply configure the ondemand governor to do the same thing? Is more easy and can be done manually or using Trickster mod.
Click to expand...
Click to collapse
Ya but as per me if we have limited something in the thermal config file to behave at a specific battery temp. then we can not use any app or mod to change the cpu frequencies.. I have tried that also..
Also this mod controls cpu+gpu+dencity at specific battery temps...
sumitsrk123 said:
is it really works ??????
Click to expand...
Click to collapse
I also had same questions so me and my friend have tested it with the help of cpu-z app...
Cpu-z app gives you details of your battery temp. and your current cpu clock speeds. Set governor to performance and start playing games like need for speed... Then in between checked the temp of the battery and the cpu clock speed ...
It really works it changes the frequencies as per specific temps...
coolpepe said:
Thanks a ton for the patch but flashable zip file be a lot easier to install. So please make a flashable zip.
Click to expand...
Click to collapse
Yo bro... Signed flashable zips are up... Also added undo zip to revert to stock.
This is what i am using ...
I prefer little more performance over heating...
Nice....now i can use the phone @1.6Ghz without heating !!
Beast Mode Unlocked
Thanks Man for this
In a sense. But you cannot run your cpu at 1.6ghz continuously for a very long time.. Every cpu will get overheat.
Here i have tried to make some balance between the performance and heat.
What miui did.. They just tried to limit us to use at 0.99 ghz when temp is above 38.c so i have pushed that limit to high level with help of other factors like gpu and density etc.
So simple you will not be limited if you go at a high limit of temp.. After that slowly slowly cpu gpu and density will be limited and cpu will cool down...
ravinder0003 said:
In a sense. But you cannot run your cpu at 1.6ghz continuously for a very long time.. Every cpu will get overheat.
Here i have tried to make some balance between the performance and heat.
What miui did.. They just tried to limit us to use at 0.99 ghz when temp is above 38.c so i have pushed that limit to high level with help of other factors like gpu and density etc.
So simple you will not be limited if you go at a high limit of temp.. After that slowly slowly cpu gpu and density will be limited and cpu will cool down...
Click to expand...
Click to collapse
What i meant was this is smarted thermal control and i won't be having to manually underclock any more to prevent heating !
Also i can help my friends who are not aware of rooting and stuffs
No you dont need to do anything... this is balanced version..
If you prefer more power or more battery just tell me i will edit it for you according to ur needs..
ravinder0003 said:
No you dont need to do anything... this is balanced version..
If you prefer more power or more battery just tell me i will edit it for you according to ur needs..
Click to expand...
Click to collapse
Can you make it more reliable for hard gaming & multitasking??? Mod is working perfectly and really increased my battery backup and performance, No heat anymore. Thanks bro keep it up.:beer::thumbup:
Sent from my HM 1SW using XDA Premium 4 mobile app
ravinder0003 said:
Hi Everybody,
After v45 update, we all are facing huge drop in performance in our Redmi 1s.
One of my dear provided one patch by modifing some system files.
But that patch will yes revert back the performance BUT IT WILL ALSO BRING BACK THE OVERHEATING ISSUE.
So i am presenting you all with this patch.
It will restore your performance and also will control overheating.
How to do:
NO ROOT IS NEEDED NOW.
JUST FLASH ZIPS EVEN THROUGH STOCK RECOVERY.
How to undo:
Just flash undo zip.
Download:
Updated in attachments as recovery flashable zips.
NOW IT CAN BE FLASHED THROUGH STOCK MIUI RECOVERY.
What have i done:
(1) somebody ask me to remove some of the line from the file but if we remove them our redmi will start overheating as it wont control the cpu.
So i have not removed them but i have set them to frequencies which will neither make phone overheat nor will hang it.
(2) file is patched with little help from my nexus.
(3) in the v45 update the cpu was limited to use less than 1ghz. It hangs the phone. So i changed it.
Now reboot and you device will go easy.
Please comment if you find any issue or suggestions.
A thanks will motivate me.
Also if you want to use my mod in any rom then plz give credits.
Credits:
Ryuinferno : for the wonderful script to sign zip files.
Notepad++
My Nexus
Click to expand...
Click to collapse
HI Ravindar,
Thanks for your post it is helpful.
I tried it. Given better improvement.
Ram performance better
No heating
But
Battery life poor
Can u rectify
Please
What to do to RAM management with thermal control guys??
It have nothing to do with ram dear its totally cpu+gpu+density hack...
Also, this hack comes into action when you overuse your cpu and it starts heating... But at normal usage it only improves your performance at no extra battery cost...
Simple there is no use of having 1.6 ghz if you are limited to use only 0.988 ghz over 38 degrees... I have extended this limit only... As this limit is manadatory for cooling process...
For hard gaming !!! Will be uploading in some minutes...
Thanks for request...
For hard gaming !!! Will be uploading in some minutes...
Thanks for request...
Mod for hard gaming is up... Plz check the op or attachment...

Force GPU Rendering - Battery Improvement?

I'm trying to find out whether enabling Force GPU Rendering in the Dev Options is worth doing to improve battery?
I've read everywhere mixed opinions, that it works or it doesn't work or it 'should' work in theory but am unsure - mainly because it's set to off by default..
Currently running Resurrection Remix Marshmallow and the battery life is randomly good and [email protected]
It will increase usage, the stress of graphics is being handled by both CPU and GPU to save battery. Turning that setting on will put a big burden the GPU itself cant handle too well. Results will be faster performance yet glitches and stuff like overheat and battery drain may happen.

Increase LG G4 battery life by 30% must be rooted

*I no longer have this phone so these values and builds will not be updated if you would like to add new values for this phone or add tweaks to existing builds then feel free to post them on this thread.
*This requires root
I decided to make this thread to share with you guys a tweak that I found that really helped my battery life. I was never able to get more than 3hrs of screen on time on my phone or get decent standby times on lollipop like I did when I was on marshmallow but I may have found a solution. I stumbled on this thread: http://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557 by soniCron give the guy a thanks while you're over there. This guide is for CPU settings to increase battery life and performance. I saw that it was for the Nexus 5x and because the g4 and 5x have the same CPU I decided to give it a shot. I never noticed much performance improvements but I did notice a big battery improvement like I said before. There are many different flavors of tweaks to try and I ended up going with GhostPepper and then tweaking it to my liking.
Here are my settings for the G4 based on GhostPepper
https://docs.google.com/spreadsheets/d/1Yn-qtExspkzINkhtjHBhQyrbtSdMLH9ls4booeqsfh4/edit?usp=sharing
* 8/14/16 If you used the settings from the beta build Turtle or modded GhostPepper check to make sure your settings are up to date. I just changed some target load numbers slightly and fixed an error with the values for above_hispeed_delay. I also fixed an error with a value for the modded GhostPepper settings.
*8/15/16 Slight changes to beta settings to increase smoothness and battery life slightly
*8/17/16 Small change to beta settings to increase smoothness more and changed development status of Turtle to stable beta meaning you can probably use it without worrying about battery drain or slow downs though it does need more testing to move it to daily use
After changing these values with some type of kernel tweaking app I used kernel adiutor, make sure all CPU boosting settings like touch boost or input interval are off or at 0
After applying these settings you should see noticeable improvements in battery life
If you find any better settings add them to the thread.
*I am not responsible if your phone dies, bootloops, bricks, or causes the world to explode.
Unfortunately, this requires root, so no-go on MM.
konradsa said:
Unfortunately, this requires root, so no-go on MM.
Click to expand...
Click to collapse
I meant to put that in the post updating it now.
I found simply changing my governor to interactive greatly increased my battery life. I am going to try this and see what I get. I'll post results.
trxrider31 said:
I found simply changing my governor to interactive greatly increased my battery life. I am going to try this and see what I get. I'll post results.
Click to expand...
Click to collapse
OK great this uses the interactive governor.
New Beta Settings
I have updated the main post with a link to a list of settings one of them is the one that was on there before and the other is one I am working on. The beta I just added seems fairly decent from my testing though this is my first time trying to make my own The small core settings are ones that I did and the Big core settings are slightly tweaked GhostPepper settings. This one seems smooth from my testing maybe not as smooth as the first one I added but it does seem to have a little better battery life when doing light gaming. If your adventurous go for it and report any issues and the battery life you are getting. I also turned all thermal settings off like Core control, VDD, and Temp throttle. It didn't have any affect on my temps if anything they went down a little maybe 1 or 2 degrees but did seem to help smoothness and making sure the governor settings acted right on both profiles.
*I am not responsible if your phone dies, bootloops, bricks, or causes the world to explode.
*If you used the settings from the beta build Turtle or modded GhostPepper check to make sure your settings are up to date. I just changed some target load numbers slightly and fixed an error with the values for above_hispeed_delay. I also fixed an error with a value for the modded GhostPepper settings.
Just wanted to post an update on the battery life I am getting with the beta settings. I managed to get almost 5hrs of screen on time with the Turtle settings beating my previous longest screen on time from the images in the first post. I managed to do this with even more demanding tasks. In the first post the battery times are with mainly web browsing this time I was mainly watching Netflix and YouTube for about 3hrs worth of my screen on time. My brightness was also 10% higher than the first time. I also did a standby test and managed to only drain 3% overnight and it said I would get 139 hrs of standby time which I think is insanely good.
Battery life test
I just ran the Geekbench 3 battery test and managed to get 5 hrs 45 min and a score of 3456 on the beta settings. I managed to beat the G4 battery time by 50min and this was with 30% brightness and Bluetooth, WiFi, and Cell on no airplane mode. I also managed to beat the G3 and almost got the same battery time as the OnePlus One.
*Comparisons where made from the battery times here:https://browser.primatelabs.com/battery-benchmarks
Shorty88jr said:
I just ran the Geekbench 3 battery test and managed to get 5 hrs 45 min and a score of 3456 on the beta settings. I managed to beat the G4 battery time by 50min and this was with 30% brightness and Bluetooth, WiFi, and Cell on no airplane mode. I also managed to beat the G3 and almost got the same battery time as the OnePlus One.
*Comparisons where made from the battery times here:https://browser.primatelabs.com/battery-benchmarks
Click to expand...
Click to collapse
Hi, dude. I'm very interested in tweaking my G4 to get better battery life as at the moment I need to charge it twice a day. I just have a noob question, could you please tell me how you disabled touchboost using Kernel Adiutor?
IvanN8458 said:
Hi, dude. I'm very interested in tweaking my G4 to get better battery life as at the moment I need to charge it twice a day. I just have a noob question, could you please tell me how you disabled touchboost using Kernel Adiutor?
Click to expand...
Click to collapse
Go to the CPU section then scroll all the way down till you get to a section that says CPU Boost. Set the Interval to 0 Sync Threshold disabled and Input Interval to 0. The input boost frequency will never disable for me but with the above settings it shouldn't matter because it will never run anyway.
Shorty88jr said:
Go to the CPU section then scroll all the way down till you get to a section that says CPU Boost. Set the Interval to 0 Sync Threshold disabled and Input Interval to 0. The input boost frequency will never disable for me but with the above settings it shouldn't matter because it will never run anyway.
Click to expand...
Click to collapse
Ok. I really thank you. Just entered the values, I will give it a try and report back on how it goes. Those numbers you got look really good.
IvanN8458 said:
Ok. I really thank you. Just entered the values, I will give it a try and report back on how it goes. Those numbers you got look really good.
Click to expand...
Click to collapse
I would try the GhostPepper settings first. The beta settings seem to give me better battery but they are still a work in progress and not as smooth as the other settings but you can use them if you want any feedback on those settings would be appreciated. I was also surprised how much those settings did for my battery life.
I decided to do a benchmark on how much of a difference there was between stock and the custom settings and to show I wasn't making stuff up by saying that I used these settings and magically got almost double battery life With the stock settings I got just a hair over 3hrs vs almost 6hrs on the tweaked CPU settings. You can see the results from stock in the IMG. The results for the tweaked settings are near the bottom of the first page.
IvanN8458 said:
Ok. I really thank you. Just entered the values, I will give it a try and report back on how it goes. Those numbers you got look really good.
Click to expand...
Click to collapse
How is your battery life after trying the settings out for a few days?
hey man i just tried yours and let we see the performance in next day. anyway the tweak that youve done is only on the CPU? no GPU or whatsoever? what if i implemented from others, let say other G4 users that tweak the GPU and i combined with your CPU tweak. any problem?
Hey man, how could I get the tweak for this setting? Thank you
I didn't think you could tweak the kernel without an unlocked bootloader for the Verizon G4 (vs98613b)?
elrosid said:
hey man i just tried yours and let we see the performance in next day. anyway the tweak that youve done is only on the CPU? no GPU or whatsoever? what if i implemented from others, let say other G4 users that tweak the GPU and i combined with your CPU tweak. any problem?
Click to expand...
Click to collapse
Yes just CPU and yes you can use GPU tweaked combined with the CPU tweaks just be aware it may affect stability.
glees.shin said:
Hey man, how could I get the tweak for this setting? Thank you
Click to expand...
Click to collapse
You need to be rooted then use the app kernel adiutor and change the values in the app.

Categories

Resources