Public bug reported:
low-impact bug, easy workaround.
Thinkpad T480
4.18.0-16-generic
Bug:
# cd /sys/class/power_supply/BAT1
#
# echo 95 > charge_start_threshold
bash: echo: write error: No such device
but it works for BAT0
It means tlp, latest version installed via PPA, by default can't set battery
charge thresholds for the second battery in ubuntu 18.04 because tlp now
defaults to using natacpi.
This can be reverted to the old way of working via a simple change in
the tlp conf file.
This bug is fixed in 5.0.2 installed from ubuntu mainline ppa. I did
not try earlier.
-----
root@moncrief:/sys/class/power_supply/BAT1# cat /proc/version_signature
Ubuntu 4.18.0-16.17~18.04.1-generic 4.18.20
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1820796
Title:
natacpi bug in 4.18.0-16-generic, fixed upstream 5.0.2
Status in linux package in Ubuntu:
New
Bug description:
low-impact bug, easy workaround.
Thinkpad T480
4.18.0-16-generic
Bug:
# cd /sys/class/power_supply/BAT1
#
# echo 95 > charge_start_threshold
bash: echo: write error: No such device
but it works for BAT0
It means tlp, latest version installed via PPA, by default can't set battery
charge thresholds for the second battery in ubuntu 18.04 because tlp now
defaults to using natacpi.
This can be reverted to the old way of working via a simple change in
the tlp conf file.
This bug is fixed in 5.0.2 installed from ubuntu mainline ppa. I did
not try earlier.
-----
root@moncrief:/sys/class/power_supply/BAT1# cat /proc/version_signature
Ubuntu 4.18.0-16.17~18.04.1-generic 4.18.20
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820796/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp