Skip to content

[Linux] define bat state files on runtime #39

Description

@laur89

I see there's some logic for specific flavors of linux, but I'm not convinced this is entirely dependent on distribution. I'm running same version of debian on different hardware (HP and lenovo), and the battery state files are named differently - eg. {energy,charge}_now.

PR #26 adds the possibility to resolve the filename prefixes during runtime dynamically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions