View Single Post
Old 05-12-2016, 04:19 PM   #4
TinyApps.Org
Enthusiast
TinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and graceTinyApps.Org herds cats with both ease and grace
 
Posts: 28
Karma: 43222
Join Date: Feb 2010
Device: e-ink monitor
Hi geekmaster,

Many thanks for your reply. Always a pleasure connecting with you.
Quote:
I think I saw in some system scripts (at least on some models) that there is a flag file you can drop in the file system (perhaps at root rather than userstore) that bypasses battery check.
Apparently in Kindle 3.1, /etc/battcheck.conf contains the following line:

_NOBATTCHECK_FILE="/mnt/us/system/nobattcheck"

On my Kindle DX running 2.5.5, /etc/battcheck.conf does not contain any such reference to nobattcheck.

However, etc/rc2.d/S50battcheck offers all sorts of possibilities for bypassing the battery check... here's another:

Code:
# Check a boot arg to see if we are configured to
# skip the batt check
grep -i "nobattcheck" -q /proc/cmdline
if [ $? -eq 0 ]; then
    msg "nobattcheck in boot args" I
    _SKIP_CHECK=1
fi
TinyApps.Org is offline   Reply With Quote