Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-07-2021, 05:05 AM   #1
logpig
Junior Member
logpig began at the beginning.
 
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?
logpig is offline   Reply With Quote
Old 03-07-2021, 01:13 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,495
Karma: 26047188
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`.
NiLuJe is offline   Reply With Quote
Advert
Reply


Forum Jump

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 04:34 PM
My Kindle 4 NT does not execute RUNME.sh! HariSeldon85 Kindle Developer's Corner 15 09-03-2012 01:52 PM
Kindle Touch: execute script when wifi connection is established atordo Kindle Developer's Corner 5 07-13-2012 05:06 AM
PRS-T1 Factory reset - possible to execute via script? bookler Sony Reader Dev Corner 1 07-04-2012 12:48 PM
Is it possible to execute a bash script from the SD card? godel10 iRex 25 06-25-2009 03:55 PM


All times are GMT -4. The time now is 09:16 AM.


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