07-20-2024, 07:52 PM | #1 |
Connoisseur
Posts: 85
Karma: 13
Join Date: Oct 2016
Location: Mars
Device: KV,KOA2,PW5
|
Kill unnecessary background services
I have written an app for the Kindle to display some information.
To reduce the number of charging times(save power consumption), I want to stop all unnecessary background services. Is there a way to list all background services on the Kindle and kill unnecessary ones? Last edited by kdusr; 07-20-2024 at 07:54 PM. |
07-20-2024, 10:17 PM | #2 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
ps -A
this is command to see ALL packages. Get some inspiration from koreader.sh script inside koreader folder. kill packages (via killall or stop) one by one to make sure you are not killing processes needed for your use case. |
07-20-2024, 10:21 PM | #3 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
c.f., https://github.com/koreader/koreader...le/koreader.sh
Line 69 for the list, and Line 284 for when they are stopped. In KOReader, they are resumed after koreader exits. |
07-21-2024, 03:26 AM | #4 | |
Connoisseur
Posts: 85
Karma: 13
Join Date: Oct 2016
Location: Mars
Device: KV,KOA2,PW5
|
Hi Mergen3107, thanks for your reply, I searched in the forums, found your previous post from this link : https://www.mobileread.com/forums/sh...d.php?t=345556
Does this setting save a bit on power consumption? (and does this setting block OTA?) Quote:
|
|
07-21-2024, 08:40 AM | #5 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
No, this doesn’t save you from OTA (you need renameOTAbin for this). I don’t think it saves you any energy neither.
|
07-21-2024, 08:41 AM | #6 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
What Kindle do you have?
The ones in your profile description? |
07-21-2024, 09:30 AM | #7 | |
Connoisseur
Posts: 85
Karma: 13
Join Date: Oct 2016
Location: Mars
Device: KV,KOA2,PW5
|
Quote:
I found some sample code on github for cleanup background process. https://github.com/mattzzw/kindle-cl...indle-clock.sh The following process will be killed: stop lab126_gui stop otaupd stop phd stop tmd stop todo stop mcsd stop x What is the "x", if the "x" is killed, when my application crashed, can I go back to the terminal? to re-enable the process , just run: start xxxx, is it right? |
|
07-21-2024, 10:12 AM | #8 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Yes, with start. Or you can just restart Kindle if it doesn’t work
|
Tags |
background services, kill unnecessary |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Background picture or even playing slideshow of background pic for ebooks as feature | gdrdr | Calibre | 7 | 09-16-2016 06:25 AM |
Harper Lee's heirs kill mass market paperback of 'To Kill a Mockingbird' | bgalbrecht | News | 65 | 03-25-2016 12:21 PM |
'VOWS TO KILL' - Detective receives an email: 'I will kill you on your wedding day'. | tothepoint | Self-Promotions by Authors and Publishers | 2 | 02-21-2013 07:27 AM |
Pdf background darker than LRF/RTF background | LOL2005 | Sony Reader | 2 | 10-23-2007 12:00 PM |