Power supply folder might contain an uevent file, which can be used to load battery data with a fewer syscalls amount.
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)
- Consider that any expected value might be missing in this file
- Find format specification if any exists (Let's help Dora dig the linux sources)
Power supply folder might contain an
ueventfile, which can be used to load battery data with a fewer syscalls amount.ueventfile 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)