[question] How to prevent charging from USB on Jolla Tablet ?
I know about this two threads:
https://together.jolla.com/question/95476/how-to-prevent-charging-from-usb/
https://together.jolla.com/question/55764/charging-limitation-for-enhanced-battery-life-feature-request/?answer=85249#post-id-85249
but both solutions works on Jolla Phone only... The tablet is a little bit different. The needed files located here:
/sys/devices/platform/80860F41:04/i2c-5/5-0034/dollar_cove_charger/power_supply/dollar_cove_charger
/sys/devices/platform/80860F41:04/i2c-5/5-0034/dollar_cove_battery/power_supply/dollar_cove_battery
When you connect tablet to power supply, then enable_charging and enable_charger changing to 1. If you will change it to 0, nothing happens.. The status still show Charging, and also icon in the status bar is still there.
Any idea how to do the same like on the phone ?
Thanks
The URL you show suggests to me, you're looking in the wrong place. I see no mention of USB in the URL/path.
Spam Hunter ( 2016-07-10 22:48:21 +0200 )editThis is a correct place on my tablet...
Also I found a way how to disable charging... If I run this command:
it stop charging my tablet, but with big delay.. after something like 30-40sec... And now if you will check status:
instead "Discharging", you will see "Not charging"...
Schturman ( 2016-07-10 23:20:15 +0200 )editAny other solutions ?
OK, by this 3 commands it work for me (when usb cable connected):
to restore (when usb cable is still connected):
but like I said it can take some time to see the result... something like between 30sec and 1min.
Schturman ( 2016-07-11 02:32:58 +0200 )editBEWARE - use it on your own risk...
Here's what I came up with (lol) for Jolla phone, after adding nemo to sudoers file and creating a .sh script to do the business;
Sometimes there is a delay in turning charging back on, but it's only a few seconds, not 30 or 40 secs. (I will learn how to format text here on TJC!)
Spam Hunter ( 2016-07-11 13:30:40 +0200 )edit@Markkyboy, I speak about Jolla Tablet, not the phone ;)
Schturman ( 2016-07-11 14:03:41 +0200 )edit