These functions can be very dangerous!
Linux limits the charge rate to a trickle so charging goes from taking an hour to over 10. I'm not sure why are when this happens it just does.
The current solutin is to remove the power. Suspend the device attach the power, wait a few seconds then bring the device out of sleep. Then it's back charging at full rate.
Note: I did try the functions setting the current but I got errors and the battery disapeared completely.
Just stick the suspend alias into your bashrc. Then run suspend whenever you you need to plug in your charger.
For full details visit http://kmkeen.com/cAsus-tweaks/
Notes on requirements:
Quadratic ramp, takes "up/down" as an argument. Requires xosd
, terminus-font
and cAsus.backlight.conf
.
Requires xosd
, terminus-font
and xorg-input
. Build with
gcc -O2 -lm cAsus.tablet-mode.c -o cAsus.tablet-mode
Takes "up/down/toggle" as an argument. Requires xosd
, terminus-font
and alsa-utils
.
Requires xosd
and terminus-font
.
Optionally uses xosd
and terminus-font
. Requires xprintidle.
Takes a number between 0
and 3456
as an argument, setting the milliamp charge rate of the battery. Requires ec-utils
and a properly configured sudoers
.
Takes a number between 0
and 100
as an argument, charging the battery until it reaches that percent capacity. Charge rate may be specified with the CHARGE_MA
environment variable.