Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
klonsoldat
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 28
Join Date: Feb 2012
Default Ace does not go into deep sleep after loading

My Galaxy Ace does not go into deep sleep after loading. It only goes into deep sleep after restart.

The battery drains too fast with this issue.

I use Jusada´s ICS Final and the zImage-Kernel of an0nym0us_.
 
dragonnn
Old
#2  
dragonnn's Avatar
Senior Member
Thanks Meter 727
Posts: 893
Join Date: Oct 2011
Are you using LagFree script? First try to add this lines to bulid.prop:
Code:
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
ro.ril.enable.sbm.feature=1
And check if you have an app that locks deep sleep - some apps do that, mostly background running services for example Airdroid, Wifiadb.


Sorry for my bad English.
 
pyronia
Old
#3  
pyronia's Avatar
Senior Member
Thanks Meter 171
Posts: 1,490
Join Date: Oct 2011
Location: Puchong
Quote:
Originally Posted by dragonnn View Post
Are you using LagFree script? First try to add this lines to bulid.prop:
Code:
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
ro.ril.enable.sbm.feature=1
And check if you have an app that locks deep sleep - some apps do that, mostly background running services for example Airdroid, Wifiadb.
Correction

ro.ril.disable.power.collapse=0
pm.sleep_mode=1

Set power collapse to 0 to let it collapse...




regards,
•ƒγяύs ργяσ™• Line id: pyronia
.Galaxy Ace GT-S5830 /Instanet Free Data Access

[init.d SCRIPT] TURN-OFF TOUCH KEY LIGHT!!!
[init.d SCRIPT] SET DEFAULT I/O SCHEDULER



Quote:
Originally Posted by slaid480 View Post
Scripts are starting correctly for Me,I used Script manger!!
VPN PALING MURAH RM5 SEBULAN
SAMSUNG GALAXY NOTE RM1560
BlackBerry BIS UNLIMITED - sekali bayar utk seumur hidup!
 
dragonnn
Old
#4  
dragonnn's Avatar
Senior Member
Thanks Meter 727
Posts: 893
Join Date: Oct 2011
Quote:
Originally Posted by pyronia View Post
Correction

ro.ril.disable.power.collapse=0
pm.sleep_mode=1

Set power collapse to 0 to let it collapse...




regards,
•ƒγяύs ργяσ™• Line id: pyronia
Are you really sure? I have found this tweak here http://forum.xda-developers.com/show...ght=build+prop and use 1 for collapse a long time. I don't really know how it works, but when I had used the LagFree v3 script that have set collapse to 0 my battery drains faster then with 1 value.


Sorry for my bad English.
 
pyronia
Old
(Last edited by pyronia; 11th February 2012 at 02:53 PM.)
#5  
pyronia's Avatar
Senior Member
Thanks Meter 171
Posts: 1,490
Join Date: Oct 2011
Location: Puchong
Quote:
Quote:
Originally Posted by pyronia
Correction

ro.ril.disable.power.collapse=0
pm.sleep_mode=1

Set power collapse to 0 to let it collapse...




regards,
•ƒγяύs ργяσ™• Line id: pyronia
Are you really sure? I have found this tweak here http://forum.xda-developers.com/show...ght=build+prop and use 1 for collapse a long time. I don't really know how it works, but when I had used the LagFree v3 script that have set collapse to 0 my battery drains faster then with 1 value.
ro.ril.disable.power.collapse=1 disable power collapse
ro.ril.disable.power.collapse=0 let the power collapse

Edit: if the line, ro.ril.enable.power.collapse=1 then it will collapse dude...read and try to understand the line carefully ro.ril."DISABLE POWER COLLAPSE"=

1 for yes
0 for no


regards,
•ƒγяύs ργяσ™• Line id: pyronia
.Galaxy Ace GT-S5830 /Instanet Free Data Access

[init.d SCRIPT] TURN-OFF TOUCH KEY LIGHT!!!
[init.d SCRIPT] SET DEFAULT I/O SCHEDULER



Quote:
Originally Posted by slaid480 View Post
Scripts are starting correctly for Me,I used Script manger!!
VPN PALING MURAH RM5 SEBULAN
SAMSUNG GALAXY NOTE RM1560
BlackBerry BIS UNLIMITED - sekali bayar utk seumur hidup!
 
itasoulas
Old
#6  
itasoulas's Avatar
Senior Member
Thanks Meter 3352
Posts: 1,613
Join Date: Nov 2011
Location: Athens

 
DONATE TO ME
Quote:
Originally Posted by pyronia View Post
Correction

ro.ril.disable.power.collapse=0
pm.sleep_mode=1

Set power collapse to 0 to let it collapse...




regards,
•ƒγяύs ργяσ™• Line id: pyronia

do we add those lines at the beginning of the script or anywhere we want?
 
pyronia
Old
#7  
pyronia's Avatar
Senior Member
Thanks Meter 171
Posts: 1,490
Join Date: Oct 2011
Location: Puchong
Quote:
Originally Posted by itasoulas View Post
do we add those lines at the beginning of the script or anywhere we want?
At the end of the lines or u can make it as a init.d script

#!/system/bin/sh
setprop pm.sleep.mode=1
setprop ro.ril.disable.power.collapse=0

Set permission to full 777 then reboot...

But i prefer to just edit the build.prop manually




regards,
•ƒγяύs ργяσ™• Line id: pyronia
.Galaxy Ace GT-S5830 /Instanet Free Data Access

[init.d SCRIPT] TURN-OFF TOUCH KEY LIGHT!!!
[init.d SCRIPT] SET DEFAULT I/O SCHEDULER



Quote:
Originally Posted by slaid480 View Post
Scripts are starting correctly for Me,I used Script manger!!
VPN PALING MURAH RM5 SEBULAN
SAMSUNG GALAXY NOTE RM1560
BlackBerry BIS UNLIMITED - sekali bayar utk seumur hidup!
The Following User Says Thank You to pyronia For This Useful Post: [ Click to Expand ]
 
dragonnn
Old
#8  
dragonnn's Avatar
Senior Member
Thanks Meter 727
Posts: 893
Join Date: Oct 2011
pyronia I understand what you will say my - but for me setting it to 0 drains battery faster then setting it to 1.


Sorry for my bad English.
 
itasoulas
Old
#9  
itasoulas's Avatar
Senior Member
Thanks Meter 3352
Posts: 1,613
Join Date: Nov 2011
Location: Athens

 
DONATE TO ME
Quote:
Originally Posted by pyronia View Post
At the end of the lines or u can make it as a init.d script

#!/system/bin/sh
setprop pm.sleep.mode=1
setprop ro.ril.disable.power.collapse=0

Set permission to full 777 then reboot...

But i prefer to just edit the build.prop manually



regards,
•ƒγяύs ργяσ™• Line id: pyronia

great man! will also try your battery script from the post of easy script making that you have posted on development
 
CallMeVentus
Old
#10  
CallMeVentus's Avatar
Recognized Contributor
Thanks Meter 2635
Posts: 9,254
Join Date: Jul 2011
Location: Singapore
Pyronia is wrong .
We are disabling the power collapse because we don't want the power saving to collapse -.-
Common sense .

Herpderp Defy.
TeamCooper:
www.teamcooper.net



GitHub:
Personal: www.github.com/EmoBoiix3
CyanMobile: www.github.com/CyanMobile
TeamFun (a.k.a GingerDX): www.github.com/TeamFun

Read this if you are new to your Galaxy Ace





"My friends are my power, and I'm theirs!"
"I am the boy with the heart of pure light."

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more