summaryrefslogtreecommitdiff
path: root/components/battery.c
AgeCommit message (Expand)Author
2020-10-31Added config and patchesHEADmasterJulian T
2019-02-05Add FreeBSD support for temperature and battery componentsMichael Buch
2018-07-08Consistency with 80 char limit and breaksAaron Marcher
2018-07-07Simplify format specifiers for uintmax_tAaron Marcher
2018-07-07Change uint64_t to uintmax_tAaron Marcher
2018-07-07battery: 64 bit ints on LinuxAaron Marcher
2018-07-06battery: Remove unnecessary defines for pathsAaron Marcher
2018-05-30Clean up header includesAaron Marcher
2018-05-21battery_remaining: check for division by zeroAaron Marcher
2018-05-21battery_remaining: Change float to doubleAaron Marcher
2018-05-21battery: Minor coding style fixesAaron Marcher
2018-05-21Remove units from numbersAaron Marcher
2018-05-20Support energy_now/power_now in battery_remainingDavid Demelier
2018-05-19Add the percent sign to *_perc functionsAaron Marcher
2018-05-19Implement esnprintf() and make formatted calls more efficientLaslo Hunhold
2018-05-19Revert aac29e2 as it is nonsenseAaron Marcher
2018-05-19battery: Move out struct as common codeAaron Marcher
2018-05-18Use %d instead of accidentally %iAaron Marcher
2018-05-18Port battery_remaining to LinuxAaron Marcher
2018-05-18Fix memory leakAaron Marcher
2018-05-18battery: fixed remaining time on connected ACTobias Tschinkowitz
2018-05-18Fix indentationAaron Marcher
2018-05-18Add battery_remaining function on OpenBSDTobias Tschinkowitz
2018-05-18Add warn() and die()Laslo Hunhold
2018-05-17Remove UNUSED macroAaron Marcher
2018-05-17Mark unused parameters, fix compiler warningsAaron Marcher
2018-05-17Unify type of in for loopsAaron Marcher
2018-05-17Unify type of `i` in for loopsAaron Marcher
2018-05-06Fix coding styleAaron Marcher
2018-05-04battery: Remove full indicatorAaron Marcher
2018-05-02battery_state: Unify unknown state with "?" symbolAaron Marcher
2018-05-01Remove battery_power for various reasonsAaron Marcher
2018-05-01battery_perc: Port to OpenBSDAaron Marcher
2018-05-01Use indentation to increase readabilityLaslo Hunhold
2018-05-01Revert component-splitLaslo Hunhold
2018-04-30battery: OS splitQuentin Rameau
2018-04-29battery: Separate function for readbilityAaron Marcher
2018-03-28Format error messages properlyAaron Marcher
2018-03-28Get rid of err.h as it is not portableAaron Marcher
2018-03-21More robust preprocessor switchesAaron Marcher
2018-03-19battery_perc: Port to OpenBSD.Aaron Marcher
2018-03-18Build Linux-only functions only on LinuxAaron Marcher
2017-09-24Move components into dedicated subdirectoryLaslo Hunhold