natacpi bug in 4.18.0-16-generic, fixed upstream 5.0.2

Bug #1820796 reported by Tim Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Committed
Undecided
Unassigned

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

Revision history for this message
Tim Richardson (tim-richardson) wrote :
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1820796

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Tim Richardson (tim-richardson) wrote : Re: [Bug 1820796] Re: natacpi bug in 4.18.0-16-generic, fixed upstream 5.0.2

Yep. I didn't find that, I filed a new Ubuntu kernel bug which I will now
close.

On Tue, 19 Mar. 2019, 16:05 Kai-Heng Feng, <email address hidden>
wrote:

> LP: #1812099?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1820796
>
> Title:
> natacpi bug in 4.18.0-16-generic, fixed upstream 5.0.2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820796/+subscriptions
>

Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Tim Richardson (tim-richardson) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.