![]() |
#1366 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,183
Karma: 15499944
Join Date: Sep 2022
Device: Kobo Libra 2
|
As far as I can tell, Kobo's battery meter has significant drift based on your charging habits. If you try to follow the guidance of keeping the battery between 25 - 75%, the meter starts to think that 75% charged is 100% charged, because it never goes above that point. I now have a > 20% disparity between what the battery icon reports and what the voltage indicates about the charge level. I'll try doing a full charge next time to see if I can get them to line up again.
|
![]() |
![]() |
![]() |
#1367 | |
Member
![]() Posts: 24
Karma: 32
Join Date: Oct 2020
Location: New York, USA
Device: Clara HD, PRS-350
|
Quote:
-rw-r--r-- 1 root root 4096 Jun 7 09:47 uevent -r--r--r-- 1 root root 4096 Jun 7 09:48 status -r--r--r-- 1 root root 4096 Jun 7 09:48 time_to_full_now -r--r--r-- 1 root root 4096 Jun 7 09:48 capacity -r--r--r-- 1 root root 4096 Jun 7 09:48 voltage_now -rw-r--r-- 1 root root 4096 Jun 7 09:48 voltage_min_design -r--r--r-- 1 root root 4096 Jun 7 09:48 type -r--r--r-- 1 root root 4096 Jun 7 09:48 time_to_empty_now -r--r--r-- 1 root root 4096 Jun 7 09:48 temp -r--r--r-- 1 root root 4096 Jun 7 09:48 technology -r--r--r-- 1 root root 4096 Jun 7 09:48 present drwxr-xr-x 2 root root 0 Jun 7 09:48 power -r--r--r-- 1 root root 4096 Jun 7 09:48 health -r--r--r-- 1 root root 4096 Jun 7 09:48 current_now Unfortunately, no voltage_max or charge_full. |
|
![]() |
![]() |
![]() |
#1368 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
I have obviously missed doing something basic in trying to set this up on my libra 2. What am I doing wrong?
|
![]() |
![]() |
![]() |
#1369 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,183
Karma: 15499944
Join Date: Sep 2022
Device: Kobo Libra 2
|
My guess would be that you copied the script into a text editor that uses Windows line endings (CRLF), instead of Linux line endings (LF). You need to use a different text editor, such as Notepad++, to convert the script to Linux line endings. I use MadEdit for such purposes, myself.
|
![]() |
![]() |
![]() |
#1370 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
Quote:
Edit: Telnet to my libra 2 shows the file structure to be similar to the Clara HD listed a couple of posts above. Last edited by jillmess; 06-15-2024 at 04:14 AM. |
|
![]() |
![]() |
![]() |
#1371 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,123
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Here is what is available for Kobo Clara HD in battcalc.sh:
Code:
# Battery Statistics Calculator 1.1 (2024-05-25) by Aleron Ives # Modified for Kobo Clara HD by mergen3107 # This script calculates battery statistics for the Kobo Libra 2. # Check the contents of /sys/class/power_supply/ if you use a different # model to ensure that the statistics you want to track are available. # # You can use NickelMenu to invoke this script like so: # menu_item :main :Battery :cmd_output :500 :/mnt/onboard/.adds/battcalc.sh # Gather the necessary statistics meter=$(cat /sys/class/power_supply/mc13892_bat/capacity) v_now=$(cat /sys/class/power_supply/mc13892_bat/voltage_now) health=$(cat /sys/class/power_supply/mc13892_bat/health) temp=$(cat /sys/class/power_supply/mc13892_bat/temp) # Format the statistics let v_now/=1000; let temp/=10; echo Capacity: $meter % echo Voltage: $v_now mV echo Health: $health echo Temperature: $temp °C Thanks everyone for NickelMenu and this script! |
![]() |
![]() |
![]() |
#1372 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,183
Karma: 15499944
Join Date: Sep 2022
Device: Kobo Libra 2
|
What does the voltage claim to be if you charge to 100% and then use the Clara for a little while? You'll probably see a nonsensical value like 4.8 V at first, but once it drops, you may be able to estimate what v_max is in order to do the voltage calculations.
|
![]() |
![]() |
![]() |
#1373 |
Connoisseur
![]() Posts: 66
Karma: 10
Join Date: Mar 2024
Location: Saint Petersburg, Russia
Device: Kindle Paperwhite (2021) Signature Edition
|
Rescan books (full)
I see two possible options in NickelMenu Documentation for 'to rescan books'
Code:
menu_item : library : Import books : nickel_misc : rescan_books_full Code:
menu_item : library : ??? : nickel_misc : rescan_books |
![]() |
![]() |
![]() |
#1374 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
|
Quote:
menu_item:<location>:<label>:<action>:<arg> menu_item Adds a menu item. <label> you can give a name for the item (command/shortcut), e.g. Import Books <location> You can choose where to put the location of the item main - a new item will be added to the tabs on the bottom-right of Kobo main page/homepage reader - the overflow menu in the reader/reading page browser - the menu in the bottom-right of the web browser library - the menu in the filter bar for the "My Books" and "My Articles" library <action> nickel_misc <arg> rescan_books_full so, Code:
menu_item : library : Import books : nickel_misc : rescan_books_full The command rescan_book_full means that Kobo will scan all its folders to display the new file if exist. This action imitates Kobo's action when ejected from the PC after sideloading book or after take a screenshot. Quote:
You may use USB connect without have to unplug/replug, use the following in Nickelmenu: Code: Code:
menu_item : main : USB Connect : nickel_misc : force_usb_connection Last edited by hatuluang; Today at 09:55 AM. |
||
![]() |
![]() |
![]() |
#1375 | |
Connoisseur
![]() Posts: 66
Karma: 10
Join Date: Mar 2024
Location: Saint Petersburg, Russia
Device: Kindle Paperwhite (2021) Signature Edition
|
Quote:
1. What does the command 'rescan_books' mean? 2. Is there any possibility to tell NickelMenu that scanning should be done in a particular folder only? (I would like to hide from NickelMenu a folder with FB2 books for KOReader) |
|
![]() |
![]() |
![]() |
#1376 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
|
Quote:
The command rescan_book_full means that Kobo will scan all its folders to display the new file if exist. This action imitates Kobo's action when ejected from the PC after sideloading book or after take a screenshot 2. When you install KOReader, I hope you make a step to prevent Nickel from scanning *nix hidden folders. So Kobo won't scan the folder like .adds folder (KOReader folder is located under .adds folder) |
|
![]() |
![]() |
![]() |
#1377 | |
Connoisseur
![]() Posts: 66
Karma: 10
Join Date: Mar 2024
Location: Saint Petersburg, Russia
Device: Kindle Paperwhite (2021) Signature Edition
|
- OK, I saw your information about 'rescan_books_full' command. - But there is also 'rescan_books' command, which meaning I don't know. - Would you please clarify this command?
Quote:
Code:
[FeatureSettings] ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+) |
|
![]() |
![]() |
![]() |
Tags |
kobo, launcher, ldpreload, nickel |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 04:35 AM |
kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 06:40 AM |
Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 02:13 PM |
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 01:46 PM |
Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 06:42 AM |