https://askubuntu.com/questions/34452/h ... 0-capacity
but when i'm entering this command i get-
Code: Select all
sudo modprobe tp_smapi
what should i do?
thanks
Code: Select all
sudo modprobe tp_smapi
apt install acpi-call
and sudo modprobe acpi_call
....absolutely great find rene (as usually, thank you good sir) -
apt install acpi-call-dkms
sudo modprobe acpi_call
cat /sys/class/power_supply/BAT*/capacity
(currently 100%)ls /sys/class/power_supply/
(returns BAT0 here...just to be certain, as the github script has BAT1 hardcoded)sudo su && echo '\_SB.PCI0.LPCB.EC0.VPC0.SBMC 4' > /proc/acpi/call
cat /sys/class/power_supply/BAT0/capacity
=> 100echo '\_SB.PCI0.LPCB.EC0.VPC0.SBMC 3' > /proc/acpi/call
=> 94 (bingo!)echo '\_SB.PCI0.LPCB.EC0.VPC0.SBMC 2' > /proc/acpi/call
=> 94 again, hmmm...echo '\_SB.PCI0.LPCB.EC0.VPC0.SBMC 1' > /proc/acpi/call
=> once again 94, damn... So it appears that a full cycle discharge (& recharge?) has been initiated?state: charging
percentage: 1%
capacity: 88,4295%
Code: Select all
BMCMD_CONSERVATION_ON = 3,
BMCMD_CONSERVATION_OFF = 5,
...........................
ret = method_int1(priv->adev->handle, "SBMC", state ?
BMCMD_CONSERVATION_ON :
BMCMD_CONSERVATION_OFF);
Code: Select all
echo 1 >/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
sudo modprobe ideapad-laptop
first if the module doesn't autoload for you (it probably does on an actual ideapad...)apt install acpi-call
and sudo modprobe acpi_call
,Code: Select all
echo '\_SB.PCI0.LPCB.EC0.VPC0.SBMC 0' >/proc/acpi/call
Code: Select all
echo '\_SB.PCI0.LPCB.EC0.VPC0.SBMC 1' >/proc/acpi/call
sudo modprobe ideapad-laptop
if needed and)Code: Select all
echo 1 >/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode