Commit Graph

9 Commits

Author SHA1 Message Date
Alastair Poole 9803a904ea battery: Fix Linux typo.
Remember to check on Linux before doing a release you spazz!!!
2020-08-23 17:56:48 +01:00
Alastair Poole 3c62339c07 formatting: some spaces. 2020-07-12 22:56:36 +01:00
Alastair Poole 3ceaad0afd machine: ifdef chopping and splicing functions.
This stuff is bad...where did i learn to be doing such things.
2020-07-11 18:34:49 +01:00
Alastair Poole c0c26ff882 machine: linux battery model/vendor purge
If enough people complain i'll bring this back, but for now keep
it simple until i can test it again properly...it works but
it's horrible
2020-07-11 18:24:30 +01:00
Alastair Poole aa1822c212 machine: ahead of the game...
Meh, we can't yet query by type.
2020-07-11 18:48:13 +01:00
Alastair Poole d1d4d0fb9e openbsd: fix for non-acpi batteries 2020-07-11 17:23:34 +01:00
Alastair Poole 09e8249689 machine: Explain use of machine and tidy Linuxisms
The functions machine.h provides are deliberately using standard
functions from a base install of the operating system. This IS
intentional. I'd like to be able to modify and reuse this anywhere
without having to untangle additional dependencies from machine to
machine.
2020-07-11 13:09:38 +01:00
Alastair Poole 9178cbc0d3 cosmetics: if, for, while, wtf 2020-07-10 19:12:30 +01:00
Alastair Poole 5c3a3cfe10 machine: Include .bogox files for clarity.
To make this maintainable (for now), split the machine querying
code into separate files. I'd like to be able to modify the file
without fear of breaking it here or there. Also, for anyone who
wants to make a change or ammendment doing this is cleaner.
2020-07-10 11:50:49 +01:00