summaryrefslogtreecommitdiff
path: root/components/battery.c
AgeCommit message (Collapse)Author
2018-03-21More robust preprocessor switchesAaron Marcher
Replace #ifdef with #if defined() and #elif with #elif defined() as it should only test if it is defined or not.
2018-03-19battery_perc: Port to OpenBSD.Aaron Marcher
In OpenBSD battery percentage gets fetched using apm now.
2018-03-18Build Linux-only functions only on LinuxAaron Marcher
2017-09-24Move components into dedicated subdirectoryLaslo Hunhold
This brings us a lot more tidiness.