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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2016, 04:53 AM   #1
Vladi69
Member
Vladi69 began at the beginning.
 
Vladi69's Avatar
 
Posts: 21
Karma: 10
Join Date: Feb 2016
Device: PW3
Screen off popup

Can someone tell me if it exists an hack to reduce the annoying 7 seconds waiting time to popup the screen off menu pressing power menu? If not, is it possible to do it?
Vladi69 is offline   Reply With Quote
Old 05-25-2016, 08:18 AM   #2
knc1
Helpdesk Junkie
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: 10,478
Karma: 9884720
Join Date: Feb 2012
Device: Too many.
Hold the button for less than 7 seconds.
knc1 is offline   Reply With Quote
Old 05-25-2016, 02:35 PM   #3
Vladi69
Member
Vladi69 began at the beginning.
 
Vladi69's Avatar
 
Posts: 21
Karma: 10
Join Date: Feb 2016
Device: PW3
Ok, but in this way no screen off. DO you mean this is not useful? So why the option exist?
Vladi69 is offline   Reply With Quote
Old 05-25-2016, 02:42 PM   #4
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 74,925
Karma: 60989035
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 6, MS Surface Pro, N7
It doesn't turn anything off - all it does is blank the screen rather than showing the usual "screensaver" image. In both cases the Kindle is asleep, not turned off. You can't turn a Kindle off.
HarryT is offline   Reply With Quote
Old 05-25-2016, 03:14 PM   #5
knc1
Helpdesk Junkie
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: 10,478
Karma: 9884720
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by Vladi69 View Post
Ok, but in this way no screen off. DO you mean this is not useful? So why the option exist?
To differentate between a semi-long press to put the device to sleep and a very long press to restart the device.
(At least the pop-up panels I have seen give you more than one action to choose.)

The device will show a screen saver, and after a time period (if it has nothing to do) will go to sleep (and turn off the front light).

Note:
The Kindle's never go to sleep if you have something holding a "wake lock" in the system -
such as having the USB cable plugged in.
Although they will be showing a screensaver - even when kept awake by a 'wake lock'.

OR:

echo 'mem' >/sys/power/state
OR
echo 'standby' >/sys/power/state (does what it says -> everything possible is turned off or put to sleep - takes a few 1/10s of a second).

There is a recent thread here about giving ;log (a search bar command) a new meaning.
See the 'Hide books' thread and example scripts.

After you decide which state you want to enter - re-write the ;log script to match.

Edit:
Is it 'safe' to just poke power management?
Code:
[728133.980625] PM: Syncing filesystems ... done.
[728133.993436] PM: Preparing system for standby sleep
[728133.994245] Freezing user space processes ... (elapsed 0.02 seconds) done.
[728134.015707] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[728134.035692] PM: Entering standby sleep
[728134.035701] Suspending console(s) (use no_console_suspend to debug)
[728134.117192] udc suspend begins
[728134.117715] USB Gadget suspend ends
[728134.117858] KERNEL: I pmic:fg suspend battinfo:current=0mA, volt=4200mV, capav=100%, mAh=1464mAh:
[728134.136500] add wake up source irq 105
[728134.139261] add wake up source irq 51
[728134.139320] PM: suspend of devices complete after 103.192 msecs
[728134.139688] PM: late suspend of devices complete after 0.350 msecs
Ans: Yes
That is everything required to put the device to sleep.
Note that the battery current is shown a zero - that is only because it is too low to measure for the Kindle's current sensor.

The dynamic ram is in low power, self refresh mode -
There is a micro-controller running (clock, button, hall effect monitoring) -
As much as possible of the SoC (and cpu) has clocks and power removed.

This is about as close to 'off' as a Kindle can get without removing the battery.

Last edited by knc1; 05-27-2016 at 09:51 AM.
knc1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dictionary in popup Panel Calibre 3 03-25-2016 09:37 PM
"Done" popup in lower right corner: movable to mid screen? Katsunami Calibre 3 11-18-2014 06:23 PM
Aura HD disable brower popup cybmole Kobo Reader 3 02-20-2014 04:56 AM
New update popup? JayKindle Calibre 6 09-17-2011 04:57 PM
dictionary: popup preview Lucas C. Amazon Kindle 8 06-09-2011 04:14 PM


All times are GMT -4. The time now is 06:11 AM.


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