|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2021
Device: k3gb
|
execute script when (un)plugged
Hi Guys.
I'm lurking around here for quite some time. I got a cheap K3gb because i wanted to create something like the weather screen, but i little more advanced. Jailbreak, KUAL, ssh etc. is working perfectly. I still want to be able to read on my Kindle from time to time. So I thought it might be useful, if I'm able to turn on/off the powersaving settings when it's (un)plugged. I read that Kite might be able to do this, but it won't install (system update stays grey). So i hope someone here is able to point me into the wright direction. Is there maybe a variable that changes as long as the Kindle is charging? |
|
|
|
|
|
#2 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
`com.lab126.powerd` sends `charging`/`notCharging` events over lipc.
And, even lower-level, `com.lab126.hal` does so for `usbPlugOut` & `usbPlugIn`. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Execute a shell script triggered by sleep event | ndriver | Kobo Developer's Corner | 0 | 07-20-2020 05:34 PM |
| My Kindle 4 NT does not execute RUNME.sh! | HariSeldon85 | Kindle Developer's Corner | 15 | 09-03-2012 02:52 PM |
| Kindle Touch: execute script when wifi connection is established | atordo | Kindle Developer's Corner | 5 | 07-13-2012 06:06 AM |
| PRS-T1 Factory reset - possible to execute via script? | bookler | Sony Reader Dev Corner | 1 | 07-04-2012 01:48 PM |
| Is it possible to execute a bash script from the SD card? | godel10 | iRex | 25 | 06-25-2009 04:55 PM |