Skip to content

Commit

Permalink
Fix parsing of /sys/class/power_supply
Browse files Browse the repository at this point in the history
The file `/sys/class/power_supply/<power_supply>/device` is a symlink to a
directory, but it is read as a regular file. This commit fixes this problem and
tries to solve #205.

Also it updates the fixtures.ttar file and add the symlink in it to better
represent the situation on the pc.

Signed-off-by: Sven Haardiek <sven@haardiek.de>
  • Loading branch information
shaardie authored and pgier committed Sep 5, 2019
1 parent 665568f commit 7235699
Show file tree
Hide file tree
Showing 2 changed files with 304 additions and 115 deletions.
Loading

0 comments on commit 7235699

Please sign in to comment.