Add basic backlight percentage support

At the moment linux only, but will add support for OpenBSD as well.
This commit is contained in:
David Demelier
2018-05-22 09:23:29 +02:00
committed by Aaron Marcher
parent cbbf59fd3d
commit 37724ac2c3
6 changed files with 41 additions and 0 deletions

View File

@ -12,6 +12,8 @@ static const char unknown_str[] = "n/a";
/*
* function description argument (example)
*
* backlight_perc backlight percentage device name
* (intel_backlight)
* battery_perc battery percentage battery name (BAT0)
* NULL on OpenBSD
* battery_state battery charging state battery name (BAT0)