Page MenuHomeFreeBSD

Fix battery status to report charging correctly.
ClosedPublic

Authored by jhb on Oct 8 2015, 8:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jun 6 2024, 8:30 PM
Unknown Object (File)
Jun 6 2024, 8:30 PM
Unknown Object (File)
Jun 6 2024, 8:30 PM
Unknown Object (File)
Jun 5 2024, 11:20 AM
Unknown Object (File)
Apr 25 2024, 9:39 PM
Unknown Object (File)
Mar 4 2024, 8:16 AM
Unknown Object (File)
Mar 4 2024, 8:16 AM
Unknown Object (File)
Mar 4 2024, 8:16 AM
Subscribers
None

Details

Summary

Properly check for the charging flag in the returned battery status
to determine if the battery is charging.

This has been submitted upstream as https://github.com/i3/i3status/pull/70

Test Plan
  • i3status now reports 'CHR' instead of 'BAT' when charging.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Fix battery status to report charging correctly..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: bapt.
bapt edited edge metadata.
This revision is now accepted and ready to land.Oct 8 2015, 10:23 PM
This revision was automatically updated to reflect the committed changes.