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 authored and Aaron Marcher committed 2018-05-22 12:40:31 +02:00
1 parent cbbf59fd3d
commit 37724ac2c3
6 files changed
+41

No files matched your search

+2
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)