Skip to content

Populate battery data from uevent file #1

@svartalf

Description

@svartalf

Power supply folder might contain an uevent file, which can be used to load battery data with a fewer syscalls amount.

  1. uevent file by itself should be considered as optional, implementation should not check if it is exists on each refresh (confirm than kernel will not create it suddenly at some random point of time)
  2. Consider that any expected value might be missing in this file
  3. Find format specification if any exists (Let's help Dora dig the linux sources)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-batteryArea: battery crateO-linuxOperating system: LinuxinvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions