Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude external batteries from sensors_battery #2305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 13, 2023

  1. Exclude external batteries from sensors_battery

    The single check for battery in power_supply was causing sometimes to grab external device battery statuses since they have the form of hid_<mac>_battery, which match the bat filter. 
    
    However they do not have an ACPI path to the system itself. 
    
    This takes into account that detail and properly exclude them from being included as an internal battery.
    RodoMa92 committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    3c9a0c5 View commit details
    Browse the repository at this point in the history