![]() |
#841 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2022
Device: Kobo A1
|
hi guys,
I am experiencing some weird battery drain while Plato is in the sleep mode. Model: Kobo Aura One (Mark 6, Model Number: 373, Firmware: 4.31.19086) WIFI and Sync is <OFF> The problem occurs, when after reading a book and putting KA1 into sleep mode with the battery at ~86%. Next morning, in ca 8hrs, battery drops to ~43%. 1) there is a "System Info" tab that shows CPU load average in 3 columns like 0.3% / 3.2% / 4.5%. Could you explain what these 3 values stand for? Like hourly/daily/weekly or something else? (I am seeing some spikes up to 43% in the first column while waking up the reader from sleep in the morning) 2) is there a way to check system log, I'd like to see what's running in the background and perhaps identify a rouge process. thanks in advance! Last edited by kobo-a-one; 03-26-2022 at 11:17 PM. Reason: Added WiFi status |
![]() |
![]() |
![]() |
#842 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Quote:
You can access the underlying Linux layer via Telnet or SSH. |
||
![]() |
![]() |
Advert | |
|
![]() |
#843 | |||
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2022
Device: Kobo A1
|
Quote:
event: Went to sleep on March 28, 2022 at 16:20. - closed the sleep cover after finishing the reading and the battery was at ca 95% event: Woke up on March 28, 2022 at 16:46. Probably because of some movement in the bag where the kobo was, the system went online again. I haven't used the ereader during this time, neither powered it on manually. event: Went to sleep on March 29, 2022 at 07:30. after checking the KA1 in the morning - battery was at 0% and I powered it off via the button at the back of the device. Code:
Went to sleep on March 28, 2022 at 13:02. Woke up on March 28, 2022 at 15:15. Went to sleep on March 28, 2022 at 15:48. Woke up on March 28, 2022 at 15:59. Went to sleep on March 28, 2022 at 16:20. Woke up on March 28, 2022 at 16:46. Went to sleep on March 29, 2022 at 07:30. Woke up on March 29, 2022 at 07:30. Went to sleep on March 29, 2022 at 07:32. Woke up on March 29, 2022 at 07:43. Went to sleep on March 29, 2022 at 07:44. Woke up on March 29, 2022 at 07:44. a) either it's powered on due to involuntary movements while being inside the bag; b) or there is another process that wakes the reader up; (needs investigation) would it be possible to control the behavior of the sleep cover from the Plato itself? say be able to enable/disable it? also perhaps power off automatically if the system is on for N minutes and there is no "activity"? I will try to disable the Sleep Cover completely in Nickel and test again. Quote:
Quote:
Another quick question if I may ![]() Is there a way to customize the keyboard layout? I can't get used to the "backspace" being on the left rather than in its usual position on the right? I tried to modify json file with the layout swapping the positions but it causes the plato to crash whenever the keyboard is called. Thank you for your help. |
|||
![]() |
![]() |
![]() |
#844 |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,549
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
@kobo-a-one you can customize the layout. Look under .adds/Plato/keyboard-layouts. Edit the .json of your language. It should be fairly apparent what to do
|
![]() |
![]() |
![]() |
#845 | |||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Quote:
Quote:
There's also this SSH package by @NiLuJe. Yes there is: duplicate the layout you want to customize. Give it a new name, modify it and set it as the default layout in Settings.toml. Modifying english.json in-place isn't a good idea: since it belongs to the distribution archive, it would be overwritten when updating Plato. You might have a typo in one of the key names. The errors that might occur when loading keyboard layouts will be logged as of ef52407. |
|||
![]() |
![]() |
Advert | |
|
![]() |
#846 | |||
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2022
Device: Kobo A1
|
Quote:
Code:
sleep-cover = false auto-share = false button-scheme = "natural" auto-suspend = 10 auto-power-off = 3 Quote:
![]() Quote:
@Barty Thanks for the tips as well. Oh, and I just noticed that you are the creator of Plato program and wanted to thank you one more time for all your hard work, developing such a great product, and finding time to reply here. Now my Kobo is "alive" and super fast again. haha. ![]() |
|||
![]() |
![]() |
![]() |
#847 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Oct 2021
Device: Kobo
|
How did the new version affect the Kobo Sage battery life?
In the old version the battery was draining very fast. How is it now? |
![]() |
![]() |
![]() |
#848 |
Member
![]() Posts: 10
Karma: 10
Join Date: Oct 2016
Device: Kobo Aura One
|
I can also report a spurious wake-up leading to full discharge issue on my kobo aura one. It happens rarely (twice that I can remember over the course of around 6 months). The latest occurrence was recently, yesterday evening I noticed that the battery was drained even though it should still have some juice, and today I see this in the log:
>Woke up on March 30, 2022 at 00:16. >Went to sleep on March 30, 2022 at 07:47. I definitely did not keep it open this long myself. I also do not have a sleep-cover, nor is there anything/anyone that could pressing the button to wake the device up. What's surprising is that the auto-sleep does not kick in. |
![]() |
![]() |
![]() |
#849 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
If you manage to reproduce the drain, please post the relevant excerpt from info.log. @Occivink: you can also participate to the trial. |
|
![]() |
![]() |
![]() |
#850 |
Member
![]() Posts: 10
Karma: 10
Join Date: Oct 2016
Device: Kobo Aura One
|
I've installed the new binary. It might take a while, but I'll let you know if/when I can reproduce it. Thanks for you help, as always
|
![]() |
![]() |
![]() |
#851 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Plato 0.9.27
I've released Plato 0.9.27.
|
![]() |
![]() |
![]() |
#852 |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,549
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
@baskerville : a coding question, if you don't mind.
In Plato, what's the best way to extract the class of current paragraph in selection, if present? e.g., given Code:
<p class="indent"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent tempus, quam vel elementum tincidunt, turpis diam elementum est, quis mattis eros erat vel velit. Nullam bibendum, libero ac gravida imperdiet, purus metus cursus tortor, sed pharetra tortor odio sed nibh. Aliquam in congue quam, vel vulputate turpis. </p> TIA |
![]() |
![]() |
![]() |
#853 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
The text layer doesn't have the classes. They are only present in the XML representation. What are you trying to achieve? |
|
![]() |
![]() |
![]() |
#854 | |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,549
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Quote:
Code:
.indent { margin: 0; padding: 0; text-indent: 1.5em; } |
|
![]() |
![]() |
![]() |
#855 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
If selection is Some(Selection { start: TextLocation::Dynamic(offset), .. }), then offset is an absolute byte offset that refers to a particular position in the spine seen as a continuous byte stream.
You can find the underlying vertebra using EpubDocument::vertebra_coordinates. You'll then need to parse that file as XML and find the element with the biggest byte offset less or equal to offset - start_offset. I guess you'll also have to store the additional rules in the reading state. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | KOReader | 1237 | 07-07-2025 02:25 PM |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 584 | 07-01-2025 07:34 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1289 | 04-07-2025 10:18 AM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 08:16 PM |