Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#55063 - [tpacpi-bat] turn off battery limits when service stopped

Attached to Project: Community Packages
Opened by Peter Harkins (pushcx) - Monday, 07 August 2017, 16:16 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 07:23 GMT
Task Type Bug Report
Category Packages
Status Assigned   Reopened
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


When the tpacpi-bet service is stopped, it doesn't remove the battery charging limits it added. The tpacpi-bat.service should have the following two lines added to its [Service] section:

ExecStop=/usr/bin/tpacpi-bat -s ST $BATTERY 0
ExecStop=/usr/bin/tpacpi-bat -s SP $BATTERY 0

I'm submitting I don't know if the package just uses the included examples/systemd_fixed_threshold/tpacpi.service or if it has one written from scratch. The upstream PR is here:
This task depends upon

Comment by telsch (telsch) - Tuesday, 04 May 2021, 07:23 GMT
  • Field changed: Percent Complete (100% → 0%)
mentioned pull request merged upstream
Comment by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 07:24 GMT
May the maintainer decide whether close it again or if it's worth to apply here