TLP erroneously putting desktop PC in battery mode
Bug #2085812 reported by
Jason Harvey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tlp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
TLP on my desktop PC (with no battery) is putting the system into battery mode. This results in symptoms like the disk spinning down whenever it is idle for 15 seconds, which happens constantly.
This is a new symptom with an upgrade to Oracular - I ran this same system on Jammy before and did not have this symptom.
I believe this may be due to TLP seeing a battery "power supply" device for UCSI.
tlp-stat output: https:/
tlp-stat --psup output: https:/
Filed a bug with the upstream: https:/
To post a comment you must log in.
Found the cause: https:/ /github. com/linrunner/ TLP/issues/ 768#issuecommen t-2443358201
It is due to the UCSI driver, which TLP is interpreting as a power source. Since it sees no other AC sources, it assumes the system is on battery.
This would be fixable by setting `TLP_PS_ IGNORE= "USB"` in the config file, but I am wondering if there is some way the logic could be adjusted to handle this correctly by default. It would be easily for someone to accidentally end up in this state, leading to performance problems plaguing them with no clear cause.
Anyone running Mate on a PC that happens to have a UCSI driver loaded will experience this by default, as Oracular's `ubuntu- mate-desktop` appears to install TLP by default.