View Single Post
Old 11-19-2014, 10:18 AM   #5
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by seadad9903 View Post
- - - -
Sitting unused on the screensaver would count as not "awake", would it not? If so, as I understand what your last sentence says I am seeing 75% battery drain on 0 hours of runtime.
It would not count as "not awake" -
The display of the screensaver does not indicate internal system activity.

You would have to check the kernel log at about that time to see if it went to sleep or suspend.

An example of what to look for (will vary with kernel version, build, etc)
Code:
000101:011049 [   16.481363] PM: Syncing filesystems ... done.
000101:011049 [   16.486442] PM: Preparing system for mem sleep
000101:011532 [   16.489772] Freezing user space processes ... (elapsed 0.01 seconds) done.
000101:011532 [   16.518434] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
000101:011532 [   16.538270] PM: Entering mem sleep
000101:011532 [   16.538278] Suspending console(s) (use no_console_suspend to debug)
000101:011532 [   16.545172] mwan: D elmo_suspend:elmo_suspend::disable irqs
000101:011532 [   16.557079] udc suspend begins
000101:011532 [   16.557318] USB Gadget suspend ends
000101:011532 [   16.596278] KERNEL: I pmic:fg suspend battinfo:current=60mA, volt=3910mV, capav=070%, mAh=673mAh:
000101:011532 [   16.616570] add wake up source irq 105
000101:011532 [   16.617845] add wake up source irq 51
000101:011532 [   16.617908] PM: suspend of devices complete after 72.742 msecs
000101:011532 [   16.618305] PM: late suspend of devices complete after 0.379 msecs

000101:011532 [   16.619075] PM: early resume of devices complete after 0.186 msecs
000101:011532 [   16.619252] remove wake up source irq 51
000101:011532 [   16.731672] remove wake up source irq 105
000101:011532 [   16.736723] KERNEL: I pmic:onkey::wario button online event
000101:011532 [   16.750941] KERNEL: I pmic:fg resume battinfo:current=0mA, volt=3923mV, capav=070%, mAh=659mAh:
000101:011532 [   16.994822] USB Gadget resume begins
000101:011532 [   16.994830] fsl_udc_resume, Wait for wakeup thread finishes
000101:011532 [   17.016593] dr_controller_run: udc enter low power mode 
000101:011532 [   17.016610] USB Gadget resume ends
000101:011532 [   17.036995] mwan: D elmo_resume:elmo_resume::enable irqs
000101:011532 [   17.037034] PM: resume of devices complete after 417.835 msecs
000101:011532 [   17.128303] PM: Finishing wakeup.
The above is kernel v-3.0 on a KT2 (fw 5.6.1, diags), yours will not be identical but should be recognizable.

Last edited by knc1; 11-19-2014 at 10:38 AM.
knc1 is offline   Reply With Quote