webOS Nation Forums >  Homebrew >  webOS patches > [patch] No Auto-Off While Charging
[patch] No Auto-Off While Charging

  Reply
 
LinkBack Thread Tools Display Modes
Old 12/21/2009, 08:08 AM   #41 (permalink)
Member
 
drewjohn's Avatar
 
Join Date: Jun 2009
Location: Nashville
Posts: 352
Likes Received: 1
Thanks: 3
Thanked 71 Times in 31 Posts
Default

hunk #2 failed at 1559
drewjohn is offline   Reply With Quote
Thanked By: patricksmangan
Old 12/22/2009, 09:40 PM   #42 (permalink)
Member
 
Join Date: Jul 2009
Posts: 334
Likes Received: 0
Thanks: 82
Thanked 37 Times in 25 Posts
Default

same here, hunk 2 failed
drizek is offline   Reply With Quote
Old 12/22/2009, 09:41 PM   #43 (permalink)
Member
 
Join Date: Jul 2009
Posts: 334
Likes Received: 0
Thanks: 82
Thanked 37 Times in 25 Posts
Default

Quote:
Originally Posted by drewjohn View Post
larger font size
brightness slider
roam only
battery as %
date MM/DD
I have brightness slider and roam only.
drizek is offline   Reply With Quote
Old 12/23/2009, 08:28 PM   #44 (permalink)
Member
 
Join Date: Jul 2009
Posts: 14
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

I got #2 failed as well...


top bar patches were -- date MM/DD -- show SSID -- disable charging alert

Uninstalled them one by one (in that order) and tried installing. It worked after I removed all three.

reinstalled all three on top of this patch and everything seems to be working just fine.
pseich0 is offline   Reply With Quote
Old 12/23/2009, 08:34 PM   #45 (permalink)
Member
 
Join Date: Jun 2009
Location: Los Angeles
Posts: 88
Likes Received: 0
Thanks: 105
Thanked 7 Times in 6 Posts
Default

how about setting a different timer for the screen to go black when on a touchstone?? the screen stays on for a FULL minute after you finish your call or replace it on your TS and is really distracting (and annoying as he!!) when you drive at night!
fishtale is offline   Reply With Quote
Old 12/28/2009, 02:29 PM   #46 (permalink)
Member
 
Join Date: Oct 2009
Posts: 19
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hunk #2 failed at 1554

I have Batt Icon & Percentage, MM/DD, Brightness slider in top menu patches
mikelightnin is offline   Reply With Quote
Old 12/28/2009, 03:34 PM   #47 (permalink)
Member
 
jp22382's Avatar
 
Join Date: May 2009
Location: Seattle
Posts: 364
Likes Received: 0
Thanks: 173
Thanked 200 Times in 47 Posts
Default

Line 1554 of bar-assistant.js has to do with the charging banner, so I uninstalled the 'Just Charge By Default' and 'Charging Alert Vibrate Only' patches.

Installed fine after that.

Was able to reinstall both patches afterward and everything is working.

Last edited by jp22382; 12/28/2009 at 03:40 PM.
jp22382 is offline   Reply With Quote
Old 12/28/2009, 07:03 PM   #48 (permalink)
Member
 
Join Date: Oct 2009
Posts: 19
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

I deleted some patches and installed it fine and reinstalled the patches and all is okay in Who-ville
mikelightnin is offline   Reply With Quote
Old 01/08/2010, 02:39 PM   #49 (permalink)
Member
 
Join Date: Sep 2009
Posts: 6
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by pseich0 View Post
This is true. everytime Luna starts the patch takes the current timeout value (86400 if was charging before restart) and calls it the "previous" timeout.

that means if you:

not charging -> charging -> not charging
then the timeout value in luna's settings goes something like this:
60 -> 86400 -> 60

as opposed to:

not charging -> charging -> restart while charging -> Luna loads
60 -> 86400 -> 86400 -> 86400
So, it looks like we have an understanding of what is happening here, but do we know what causes it or how to prevent it? I'm still experiencing the problem of having the phone reset the timeout interval to 86400 minutes and I've noticed that while this value is set, the pre sucks down the battery pretty quickly forcing more frequent recharging. I'd really like to know if anyone has a lead on how to deal with the problem now that it is understood to have something to do with luna resetting timeout values to one day's worth of minutes.
wjclerk is offline   Reply With Quote
Old 01/08/2010, 04:07 PM   #50 (permalink)
Member
 
drewjohn's Avatar
 
Join Date: Jun 2009
Location: Nashville
Posts: 352
Likes Received: 1
Thanks: 3
Thanked 71 Times in 31 Posts
Default

i have the problem too. i'll look down and my battery will be half gone with the screen still on
__________________
Corrupt Patch Removal Steps
http://forums.precentral.net/showthr...14#post1994414


Best Auto-Replace adjustments!!!!
http://forums.precentral.net/webos-p...justments.html


Patch Request - Touchstone Screen Off
http://forums.precentral.net/webos-p...sceen-off.html
drewjohn is offline   Reply With Quote
Old 01/08/2010, 06:31 PM   #51 (permalink)
Member
 
Join Date: Sep 2006
Posts: 274
Likes Received: 0
Thanks: 52
Thanked 29 Times in 18 Posts
Default

I'm hoping for a fix too. Anybody have a solution for the time staying at 86400 even when it isn't charging?
zelet is offline   Reply With Quote
Old 01/08/2010, 07:07 PM   #52 (permalink)
Member
 
Join Date: Jun 2009
Posts: 58
Likes Received: 0
Thanks: 12
Thanked 9 Times in 7 Posts
Default

go to screen and lock, select the 86400 and change it to 30 seconds.
bjharada is offline   Reply With Quote
Old 01/08/2010, 07:11 PM   #53 (permalink)
Member
 
Join Date: Sep 2006
Posts: 274
Likes Received: 0
Thanks: 52
Thanked 29 Times in 18 Posts
Default

Thanks for the tip. I know how to temporarily fix it but I'm looking for ideas on how to keep it from sticking incorrectly.
zelet is offline   Reply With Quote
Old 01/13/2010, 02:53 PM   #54 (permalink)
Member
 
Join Date: Oct 2008
Location: Tigard, OR
Posts: 40
Likes Received: 0
Thanks: 10
Thanked 10 Times in 7 Posts
Default

No go for me. Can't install.

Hunk #2 Failed at 1554.

I don't have any Patches that relate to the top bar installed and no Theme. All I have left after uninstalling a bunch is:
- 4x4 Icons v2
- Call Duration in Call Log
- Character Counter
- Hide Nascar App
- Hide NFL App
- Simple Shutter Sound Off

- iPhone user agent spoof (WOSQI Tweak)



Any guesses on what's preventing me from installing this?


EDIT: Uninstalled a few more patches... has anyone gotten this to work on 1.3.5?

Last edited by jants13; 01/13/2010 at 03:24 PM.
jants13 is offline   Reply With Quote
Old 01/14/2010, 11:11 AM   #55 (permalink)
Member
 
drewjohn's Avatar
 
Join Date: Jun 2009
Location: Nashville
Posts: 352
Likes Received: 1
Thanks: 3
Thanked 71 Times in 31 Posts
Default

Quote:
Originally Posted by bjharada View Post
go to screen and lock, select the 86400 and change it to 30 seconds.
this doesn't help if you don't notice it till your battery has lost most of it's charge.
__________________
Corrupt Patch Removal Steps
http://forums.precentral.net/showthr...14#post1994414


Best Auto-Replace adjustments!!!!
http://forums.precentral.net/webos-p...justments.html


Patch Request - Touchstone Screen Off
http://forums.precentral.net/webos-p...sceen-off.html
drewjohn is offline   Reply With Quote
Old 01/20/2010, 08:07 PM   #56 (permalink)
Member
 
Join Date: Aug 2009
Posts: 38
Likes Received: 0
Thanks: 10
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by wjclerk View Post
So, it looks like we have an understanding of what is happening here, but do we know what causes it or how to prevent it? I'm still experiencing the problem of having the phone reset the timeout interval to 86400 minutes and I've noticed that while this value is set, the pre sucks down the battery pretty quickly forcing more frequent recharging. I'd really like to know if anyone has a lead on how to deal with the problem now that it is understood to have something to do with luna resetting timeout values to one day's worth of minutes.
Exactly what I'm seeing. By the time I catch it the battery is pretty toast already. At least now I know what's causing it. I'm removing it because I don't want the screen staying on after all.

Edit - I can't get rid of it. I even ran EPR but the patch is still functioning, although according to WOSQI it's not installed.

Last edited by damarble; 01/20/2010 at 11:33 PM.
damarble is offline   Reply With Quote
Old 01/21/2010, 02:52 AM   #57 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

So I've re-approached this patch in a different manner, after finding references to a "onWhenConnected" service call in LunaSysMgr.

This re-done patch works a bit differently. After applying the patch, go into the Screen & Lock app. There will now be an on-off toggle called "Auto-Off While Charging", which itself is pretty self explanatory

Shouldn't be any more patch compatibility issues too




Enjoy!
Attached Files
File Type: patch no-auto-off-while-charging.patch (3.2 KB, 179 views) Email Attachment
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook

Last edited by Jason Robitaille; 01/21/2010 at 03:02 AM.
Jason Robitaille is offline   Reply With Quote
Old 01/22/2010, 08:11 AM   #58 (permalink)
Member
 
Join Date: Sep 2009
Posts: 29
Likes Received: 0
Thanks: 5
Thanked 6 Times in 4 Posts
Default

Hi Jason, another great patch. Have tried since last night. Works great when charging through USB. When charging with touchstone, screen reverts to the digital clock. It this how it is supposed to work?

Thanks again for all your amazing Pre work. Gerry
ggiffin is offline   Reply With Quote
Old 01/22/2010, 08:29 AM   #59 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by ggiffin View Post
Hi Jason, another great patch. Have tried since last night. Works great when charging through USB. When charging with touchstone, screen reverts to the digital clock. It this how it is supposed to work?

Thanks again for all your amazing Pre work. Gerry
hmm, just noticed that myself. Not too sure hot to fix that, but I'll look into a few options. For now, it'll just have to work sans-touchstone compatibility
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 01/22/2010, 10:12 AM   #60 (permalink)
Member
 
Audemars02's Avatar
 
Join Date: May 2009
Posts: 1,487
Likes Received: 13
Thanks: 252
Thanked 405 Times in 238 Posts
Default

Jason - i installed the patch via Preware (and yes, I did NOT use the obsolete one), and it does not work for me via the Touchstone (as noted already above) nor does it work via the USB connected from a computer or a USB connected via AC adapter. any idea why? i do have Brightness Unlinked installed...could that have anything to do with it?

Thanks
Adam
Audemars02 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0