New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
eugene373
Old
#1  
eugene373's Avatar
Recognized Developer - OP
Thanks Meter 7271
Posts: 5,623
Join Date: Aug 2009

 
DONATE TO ME
Default {Script} {APP} CPU Sleeper, The Battery Saver Mod! 07/06/2012 { Release 3 Reversion 1

App Version:
CPU Sleeper
~Free to all XDA Memebers
~ Must Be Rooted to use App

What is it?
Its a fairly simple App that will put CPU 1/2/3 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1/2/3 back ONLINE.

How does it work?
Since we have Dual & Quad core CPUs, we have a CPU 0 and a CPU 1/2/3, core 0/1/2/3, while the screen is off we really only need to have 1 core active "CPU0", this App will make sure CPU 1/2/3 shuts off while the screen is off, then resumes normal usage when the screen comes back on.

Compatibility?
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread

Battery Saving?
Battery savings all depends on Usage & idle times.

App Download: CPUSleep.apk
Version 1.3 Release Notes:
~ Fixed issue with Phone getting hot
~ Secondary Cores will now Disable while Talking on Phone if Needed
~ Secondary Cores Now Come back online
~ Fixed Superuser Notification being displayed every second
~ Fixed Cores Coming back online while screen is Off
~ Phone's while charge semi-faster while not being used
~ Fixed Lag issue when coming back online

~ Auto-Start on Reboot is still borked


Credits:
Handlerexploit for co-creation of this wonderful App.
Image Hosting Provided by http://i.imgur.com
TMO SGS2 & Nexus S
Eugene373's github
T-Mobile US

Follow me on Twitter.
http://twitter.com/#!/Eugene373

Like my Work, Buy Me a RedBull by clicking on my Can


Just Remember, Only you can Stop XDA Forest Fires!
The Following 9 Users Say Thank You to eugene373 For This Useful Post: [ Click to Expand ]
 
pio_masaki
Old
#2  
pio_masaki's Avatar
Recognized Contributor
Thanks Meter 2359
Posts: 3,058
Join Date: May 2012
Location: Surprise, Az

 
DONATE TO ME
Thanks for remembering us little A100 guys over here

For those that don't know, this is the guy that made the CPU Sleeper script I posted about, he made an App version of it.
My A100 Stuff:
Guide: All things Iconia A100
Jellytime Sosei
CM10 Unofficial Builds
My Droid DNA Stuff:
PAC-Man for the Droid DNA
Thank you to those that donated, it's greatly appreciated!
 
john9
Old
#3  
Account currently disabled
Thanks Meter 263
Posts: 1,591
Join Date: Oct 2011
Look very useful!I will try it.
 
DJ_SpaRky
Old
#4  
DJ_SpaRky's Avatar
Senior Member
Thanks Meter 20
Posts: 113
Join Date: Oct 2011
Location: Groveland, FL
Works like a champ counteracting OC battery usage, thanks.

Sent from my Acer Iconia Tab A100 using xda app-developers app
 
sortus
Old
#5  
sortus's Avatar
Junior Member
Thanks Meter 1
Posts: 20
Join Date: Mar 2011
Just downloaded to tablet..ill give it a try and report back.

Sent from my PC36100 using xda premium
 
jschall
Old
#6  
jschall's Avatar
Senior Member
Thanks Meter 17
Posts: 106
Join Date: Dec 2009
Location: Mont Saint-Hilaire, Québec
Does CPU Sleeper require root access?

When I try to start the service, Superuser denies access.

How can I get Superuser to allow the CPU Sleeper service to run?
- Jeff Schallenberg
Mont Saint-Hilaire, Québec
Acer Iconia Tab A100
 
DJ_SpaRky
Old
#7  
DJ_SpaRky's Avatar
Senior Member
Thanks Meter 20
Posts: 113
Join Date: Oct 2011
Location: Groveland, FL
Yes, it is the 2nd statement above.

Sent from my Acer Iconia Tab A100 using xda app-developers app
 
pio_masaki
Old
#8  
pio_masaki's Avatar
Recognized Contributor
Thanks Meter 2359
Posts: 3,058
Join Date: May 2012
Location: Surprise, Az

 
DONATE TO ME
Quote:
Originally Posted by jschall View Post
Does CPU Sleeper require root access?

When I try to start the service, Superuser denies access.

How can I get Superuser to allow the CPU Sleeper service to run?
Go into the super user app, and remove the allow/disallow option for it, then try it again.

The app requires SU, the script does too, but is run in the background, so SU never asks about it or cares that it runs.
My A100 Stuff:
Guide: All things Iconia A100
Jellytime Sosei
CM10 Unofficial Builds
My Droid DNA Stuff:
PAC-Man for the Droid DNA
Thank you to those that donated, it's greatly appreciated!
The Following User Says Thank You to pio_masaki For This Useful Post: [ Click to Expand ]
 
jschall
Old
(Last edited by jschall; 15th July 2012 at 02:36 PM.)
#9  
jschall's Avatar
Senior Member
Thanks Meter 17
Posts: 106
Join Date: Dec 2009
Location: Mont Saint-Hilaire, Québec
Quote:
Originally Posted by pio_masaki View Post
Go into the super user app, and remove the allow/disallow option for it, then try it again.

The app requires SU, the script does too, but is run in the background, so SU never asks about it or cares that it runs.
Thanks, @pio_masaki, but how do I allow an app in Superuser? I run Superuser, but I don't see any way to allow/disallow apps.

Update: I apparently had lost my root access and had to re-root. Working fine now. Thanks again for your help.
- Jeff Schallenberg
Mont Saint-Hilaire, Québec
Acer Iconia Tab A100
 
computechnopro
Old
#10  
computechnopro's Avatar
Member
Thanks Meter 2
Posts: 78
Join Date: Aug 2011
Location: Dhaka
Why doesn't it work with my S2 (v1.25) ???

Samsung Galaxy S3 GT-i9300 (16 GB, international, White)
ROM - VIKINGxROM (JB)
Kernel - Siyah - Latest
Modem - XXDLID
Tuning & Tweaks - CPU+GPU UV, Eargasm & Jelly Bean Domination theme

Gadgets Owned - Alcatel (Forgotten Model) -> SE k700i -> Nokia N80 -> Nokia N73me -> Nokia 5800xm -> SE Vivaz U5i -> Samsung Galaxy TAB 7" GT-P1000 -> Samsung Galaxy S2


Please, Click on the Thanks button if I have helped you in any way.. Afterall, it's free & just a click away..


XDA PORTAL POSTS

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more