Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

View Poll Results: What's your experience with battery drain over night?
My reader never drained battery over night 4 80.00%
I am able to reproduce the switcher wake locks 1 20.00%
I can confirm that charging powered off reader will cause battery drain bug. 1 20.00%
Charging powered off reader does not seem to cause battery drain bug 0 0%
Multiple Choice Poll. Voters: 5. You may not vote on this poll

Reply
 
Thread Tools Search this Thread
Old 06-16-2012, 07:17 AM   #1
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 418
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Sony PRS T1
Exclamation Battery drains over night - possible cause!

Hi folks,

I had my T1 battery drain over night occassionally and tried many things to solve this like using advanced task manager to auto-kill apps when screen off, permit apps from using wake locks via permission denied app, etc. but this didn't solve the issue.

I'm using BetterBatteryStats app to track down this issue and found the reader often not going to deep sleep, but have almost equal awake time and screen off time (select other in drop down menu to check this). Furthermore, there is a kernel module named switcher causing lots of wake ups (select kernel wake lock to check this).

Well, I didn't figure out what this switcher module is for, but it seems that the issue happens when:

1.) the reader is powered off
2.) connect charger -> reader switches on and charges
3.) disconnect charger when fully charged

From now on it seems more likely that the reader won't really go to sleep when screen is powered off.

If I do a reboot, everything is back at normal. Switcher module does not cause wakeups anymore.

I suspect that connecting the charger with reader powered off triggers some bug in the kernel.


Please fill the poll, that would help a lot to track this issue down further.

Last edited by uboot; 06-16-2012 at 07:22 AM.
uboot is offline   Reply With Quote
Old 06-16-2012, 08:34 AM   #2
rupor
Addict
rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.
 
rupor's Avatar
 
Posts: 218
Karma: 16660
Join Date: Jul 2007
Location: USA
Device: PRS 500,505,900,650,T1,T2, Nook ST, Kindle PW2
switcher is Sony service supporting private communication protocol over USB. It seats on device, listens for USB states and executes commands sent by Reader for PC (or ebook_msc.exe) via DeviceAccessor.dll. All those get, um, etc.

I doubt it is kernel bug - more than likely (if you are right) it is switcher itself since it is sufficiently different between 1.04 and Russian version of firmware (2.0...)

Last edited by rupor; 06-16-2012 at 10:30 AM.
rupor is offline   Reply With Quote
 
Advertisement
Old 06-16-2012, 12:19 PM   #3
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 418
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Sony PRS T1
hm, ok...

but switcher is a kernel module, isn't it? cause betterbatterystats does list it under kernel wakelocks.

now, we'll need to find a way to temporarily disable switcher.... or adapt russian firmware if it is bugfixed...
uboot is offline   Reply With Quote
Old 06-16-2012, 04:26 PM   #4
rupor
Addict
rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.rupor 's shirt has a full set of merit badges.
 
rupor's Avatar
 
Posts: 218
Karma: 16660
Join Date: Jul 2007
Location: USA
Device: PRS 500,505,900,650,T1,T2, Nook ST, Kindle PW2
I do not think so. From init.rc:
Code:
# switcher daemon
service switcher /system/bin/switcher
    user root
You probably would be able to kill and restart it (never tried it myself) as "normal" daemon. As for Russian firmware - again, I am not sure how it is written and where it get a key, but Russian firmware is using different versions of system libraries and different encryption key. So I do not think you could simply replace it...

May be kernel has some other switcher? Not sure - but in this case I am sorry for confusion.

Last edited by rupor; 06-16-2012 at 04:30 PM.
rupor is offline   Reply With Quote
Old 06-20-2012, 03:15 PM   #5
Lbooker
Addict
Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.
 
Posts: 299
Karma: 1021312
Join Date: Jun 2009
Device: Sony PRS-T1
Somnolecturum.
Lbooker is offline   Reply With Quote
Reply

Tags
battery drain wake lock

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting HELP!! Kindle DX Graphite Battery Drains Issue benong Amazon Kindle 6 09-12-2014 05:39 AM
leaving the pocketbook 602 always on drains power? JeanC PocketBook 0 12-02-2010 06:00 AM
PRS-300 Charging Drains My Battery seirenes Sony Reader 7 08-21-2010 06:16 AM
SD card drains battery? thibaulthalpern Sony Reader 14 03-16-2009 05:30 PM
DRM drains your battery by up to 25% Bob Russell News 31 03-24-2006 11:15 AM


All times are GMT -4. The time now is 12:35 AM.


MobileRead.com is a privately owned, operated and funded community.