Skip to content

"not charging" battery status #177

@MichaPau

Description

@MichaPau

When the battery is not charging (because plugged in and fully charged) there is no output for the battery.

macchina -d shows
Readout "Battery" failed with message: Got an unexpected value "not charging" reading battery status

which is normal because there is no matching branch for that status in
libmacchina/src/linux/mod.rs -> LinuxBatteryReadout::status

Would be a nice enhancement to have..
but perhaps not possible for all os systems so it was left out intentionally...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions