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 Jelle van der Waa (jelly) - Sunday, 03 September 2023, 10:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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: https://github.com/teleshoes/tpacpi-bat/pull/82
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 03 September 2023, 10:22 GMT
Reason for closing:  No response
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
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...