Skip to content

/sys/class/power_supply/AC is hardcoded, which is not always in accordance with reality. #1

@dreirund

Description

@dreirund

I installed the latest release of this software, version 1.1.0.

When I run batwarn -d, it fails with

Cannot open /sys/class/power_supply/AC/online

My external power supply is present at
/sys/class/power_supply/ADP1/.

So I think you need to adapt your software so that the power source directory (and also the battery directory) can be manually selected.

Regards!

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