05-22-2019, 01:30 AM | #631 |
Enthusiast
Posts: 37
Karma: 752
Join Date: May 2013
Location: Germany
Device: kobo h2o, kobo aura hd, onyx t68
|
Thx - I'll Try that this evening.
Is there a environment variable for the current % of the battery? |
05-22-2019, 03:43 AM | #632 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
Advert | |
|
05-23-2019, 12:42 PM | #633 |
Enthusiast
Posts: 37
Karma: 752
Join Date: May 2013
Location: Germany
Device: kobo h2o, kobo aura hd, onyx t68
|
Thanks for your help, tshering. I just realized that I am still using KSM 8, and check_battery.sh is not
present in that version. Perhaps a good time for me to do the upgrade, ... |
05-23-2019, 02:16 PM | #634 |
Wizard
Posts: 1,618
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
If it's just for checking the battery you can download the zip and check it locally.
There's not much to it in any case. There are these two files provided by the kernel: /sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/capacity /sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/status The first tells you the supposed percentage, the second whether it's charging or not. |
05-23-2019, 03:47 PM | #635 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
KSM 8 does have check_battery.sh. Maybe your are looking at the wrong place. adds/kbmenu/scripts_intern/tools/checkbattery.sh is at the system partition (not at the user partition), and so is adds/kbmenu/onstart/poweroff.sh.
Last edited by tshering; 05-23-2019 at 03:53 PM. |
Advert | |
|
05-23-2019, 10:09 PM | #636 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
OT, (for the KOReader developers); It might be useful to add display of the Mini-Progress bar over the image, for sleep/suspend and poweroff.
Luck; Ken |
05-24-2019, 04:25 PM | #637 |
Evangelist
Posts: 440
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
Yes, it may be useful option, for quick info about some data.
|
05-31-2019, 12:28 PM | #638 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2019
Device: Kobo Glo
|
Thanks for this!
|
06-02-2019, 04:56 PM | #639 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2011
Device: SNE60
|
Hi !
I just installed KSM9 + Update 2 and the latest koreader version. I tried to download some ebooks through the opds feature of Koreader but apparently, koreader refuses to write to /mnt/onboard . Is it a permission issue ? Have i missed something ? |
06-02-2019, 07:41 PM | #640 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Do you get an error message? Luck; Ken PS; Right now that is one directory (/mnt/onboard/) that I can download that I can download to. I quess Ineed to check that /mnt/sd/ is getting mounted RW. Last edited by Ken Maltby; 06-02-2019 at 07:52 PM. |
|
06-06-2019, 12:12 PM | #641 |
Connoisseur
Posts: 78
Karma: 10000
Join Date: Jul 2012
Location: Israel
Device: KA1, KLH2O, Oasis 3
|
KA1 in KSM9 does not turn on the screen backlight.
|
06-06-2019, 02:44 PM | #642 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
You might try to set a higher value for the frontlight with the help of "configure" in the main menu. Under the section [general] you can chose one of the following values:
frontlightOnLevel=4 frontlightOnLevel=10 frontlightOnLevel=15 frontlightOnLevel=20 frontlightOnLevel=30 The default value is 4. Maybe this is to low to be even noticed on your device. Edit: You might have to toggle to the "full menu" to see the entry "configure". |
06-06-2019, 03:54 PM | #643 |
Evangelist
Posts: 440
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
tshering, possible problem with setting time through wifi and KSM9.
I connected to wifi, checked that, but when using option to get time from time servers, I get current time displayed (1.1.2012 1:00). I had battery run out, so I lost time and I tried to get correct time the fastest way, but it didn't worked for some reason. Not sure why, maybe something only on my device (KA1). Later I manually set it up through koreader. Any advice what to do? |
06-07-2019, 03:49 AM | #644 |
Connoisseur
Posts: 78
Karma: 10000
Join Date: Jul 2012
Location: Israel
Device: KA1, KLH2O, Oasis 3
|
tshering
Thank you, it's better. I left KA1 for 2 days with the KSM 9 menu turned on, the battery was discharged to "0". Apparently, falling asleep books in this mode does not work. |
06-07-2019, 11:05 AM | #645 |
Connoisseur
Posts: 78
Karma: 10000
Join Date: Jul 2012
Location: Israel
Device: KA1, KLH2O, Oasis 3
|
Mistake
Last edited by makara; 06-07-2019 at 11:07 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Start Menu 08 | tshering | Kobo Developer's Corner | 1021 | 06-29-2020 04:59 PM |
Kobo-Adding alternative readers using Kobo Start Menu | Ken Maltby | KOReader | 75 | 01-10-2020 01:35 PM |
Kobo Start Menu | tshering | Kobo Developer's Corner | 918 | 10-12-2017 02:32 PM |
Start KOReader automatically with Kobo Start Menu | checcousero | KOReader | 2 | 03-07-2017 11:42 AM |
Kobo Start Menu 07 | tshering | Kobo Developer's Corner | 644 | 03-02-2017 06:40 AM |