|
|
Thread Tools | Search this Thread |
09-02-2019, 07:19 PM | #1 |
Guru
Posts: 833
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
How can I make my Forma auto power off after 24 hours of no taps or button presses?
Hello, My Forma is a 3-week-old baby, and I love it so much. I spend so much time looking at her and picking her up whenever I am -- in line, lying down, in the bathroom, in the bus.
I think I'm ready to enhance her now in the form of patches/tweaks. First thing I'd like to do is extend the "Automatically Power Off After" period to something longer than 60 minutes. (60 minutes is the longest period available in the Settings). Is there a patch/tweak that will auto power off my Forma after 24 hours of no taps/button-presses? Last edited by droopy; 09-02-2019 at 07:24 PM. |
09-02-2019, 07:50 PM | #2 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Dear droopy. Do you have to keep asking the same basic question over and over.
The simple answer is you can not. The timer is in minutes to a maximum of 255 |
Advert | |
|
09-02-2019, 08:46 PM | #3 |
Guru
Posts: 833
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
This is the first time I'm posting this question in this Dev subforum . Sorry, I thought I'd get a Dev response here that I wouldn'tget in the main Kobo forum
Last edited by droopy; 09-03-2019 at 04:07 PM. |
09-03-2019, 03:58 PM | #4 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
It's not difficult with a simple bash script:
Code:
shutdown +1440 |
09-03-2019, 04:34 PM | #5 |
Guru
Posts: 833
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Hi Lucas,
This will override whatever is set in the "Energy Settings” (”Automaticallyvpower off after”), yes? Will it be a problem if I go to that settings page after installing what you've advised? |
Advert | |
|
09-03-2019, 06:54 PM | #6 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Err, the issue wasn't "how to shutdown in 24h", the issue was "how to shutdown after 24h of *inactivity*".
AFAICT, the only thing this'll achieve is forcing a shutdown after roughly 24h of *uptime*. EDIT: Also, Kobo doesn't actually ship shutdown ;p. But the point still stands even if you replace it with something they do. Last edited by NiLuJe; 09-03-2019 at 06:58 PM. |
09-03-2019, 06:55 PM | #7 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
That script will do a shutdown 24 hours from whenever the script was executed, regardless of whether or not the device has been used during that period.
So if I run it at 2 pm Saturday, when I'm busy reading at 1:59 pm Sunday the device would turn off at 2:00 pm Sunday. |
09-03-2019, 07:01 PM | #8 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
More or less, depending on how the glibc decides to handle sleep() if there's a suspend along the way, but that's arguably nitpicking territory ;p.
|
09-03-2019, 09:41 PM | #9 |
Guru
Posts: 833
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Hi Lucas,
Niluje and peterT are right. |
09-04-2019, 06:40 AM | #10 |
Wizard
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
I don't think the request makes much sense though, at least as far as battery life goes. Just suspend after some 30-60 minutes unless you're not going to use it for at least two weeks. And in that case it'd be pretty bizarre to wait 24 hours to do it.
|
09-04-2019, 09:23 AM | #11 |
Guru
Posts: 833
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Frenzie,
I don't understand what you're proposing. |
09-04-2019, 09:42 AM | #12 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I think you misunderstand. The request is that the device powers off after 24 hours sleep. Personally, I'd like to see 3 days for my "spare" ereaders. That way they will wake quickly when I am testing something, but, won't run the battery completely down when I leave them alone.
|
09-04-2019, 11:35 AM | #13 | |
Wizard
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
I straced Nickel some more but I didn't see anything that seemed relevant. I'm probably barking up the wrong tree; maybe it's that Pickel thing doing something sneaky? |
|
09-04-2019, 02:19 PM | #14 |
Guru
Posts: 833
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
For me 24 hours of inactivity is perfect.
Because I tend to read everyday. If I don't read everyday, it probably means something is up, and I want the battery to be saved. |
09-04-2019, 10:46 PM | #15 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Forma: changing button behaviour | franklekens | Kobo Reader | 5 | 02-05-2019 03:28 PM |
Aura ONE Kobo Aura ONE touchscreen generating random button presses, unresponsive | pl8o | Kobo Reader | 3 | 12-25-2018 04:04 AM |
Notification about power button presses for the K5 and hopefully for the KPW | PaulFreund | Kindle Developer's Corner | 2 | 04-15-2013 11:55 AM |
Simulating Button Presses Externally | inuxy | Kindle Developer's Corner | 58 | 08-28-2012 01:55 PM |
PRS-T1 How can I use back button as power button? | younghere | Sony Reader | 1 | 03-12-2012 06:37 PM |