35 Commits (5db729fedbc4b6cb8742c58ff4934afb50732974)

Autor SHA1 Mensaje Fecha
  Aaron Marcher aa8654795d battery_remaining: check for division by zero hace 6 años
  Aaron Marcher a546d4b585 battery_remaining: Change float to double hace 6 años
  Aaron Marcher 103945e7bb battery: Minor coding style fixes hace 6 años
  Aaron Marcher ec5c35ec9f Remove units from numbers hace 6 años
  David Demelier f386a03a20 Support energy_now/power_now in battery_remaining hace 6 años
  Aaron Marcher 74c4f4ebda Add the percent sign to *_perc functions hace 6 años
  Laslo Hunhold 422cadfd5f Implement esnprintf() and make formatted calls more efficient hace 6 años
  Aaron Marcher 74891945d8 Revert aac29e2 as it is nonsense hace 6 años
  Aaron Marcher aac29e2bba battery: Move out struct as common code hace 6 años
  Aaron Marcher f317819984 Use %d instead of accidentally %i hace 6 años
  Aaron Marcher f170028527 Port battery_remaining to Linux hace 6 años
  Aaron Marcher b04ca3ef45 Fix memory leak hace 6 años
  Tobias Tschinkowitz 367f8a8c44 battery: fixed remaining time on connected AC hace 6 años
  Aaron Marcher 2604f25b16 Fix indentation hace 6 años
  Tobias Tschinkowitz 8c8326f793 Add battery_remaining function on OpenBSD hace 6 años
  Laslo Hunhold 80fc20d1d6 Add warn() and die() hace 6 años
  Aaron Marcher b759662983 Remove UNUSED macro hace 6 años
  Aaron Marcher fc8b6f81a5 Mark unused parameters, fix compiler warnings hace 6 años
  Aaron Marcher 7ab183c97f Unify type of in for loops hace 6 años
  Aaron Marcher 7be675f154 Unify type of `i` in for loops hace 6 años
  Aaron Marcher ee5ec75621 Fix coding style hace 6 años
  Aaron Marcher 417f473fe2 battery: Remove full indicator hace 6 años
  Aaron Marcher 2bd581a47b battery_state: Unify unknown state with "?" symbol hace 6 años
  Aaron Marcher 4f5ac5d9fe Remove battery_power for various reasons hace 6 años
  Aaron Marcher 41deabf2ec battery_perc: Port to OpenBSD hace 6 años
  Laslo Hunhold 9750a3d731 Use indentation to increase readability hace 6 años
  Laslo Hunhold 42edfea89a Revert component-split hace 6 años
  Quentin Rameau 720569bd56 battery: OS split hace 6 años
  Aaron Marcher 09950055ba battery: Separate function for readbility hace 6 años
  Aaron Marcher faa52bdcc0 Format error messages properly hace 6 años
  Aaron Marcher 96f3a8a54e Get rid of err.h as it is not portable hace 6 años
  Aaron Marcher e79d4932ea More robust preprocessor switches hace 6 años
  Aaron Marcher 7e3f80c1a3 battery_perc: Port to OpenBSD. hace 6 años
  Aaron Marcher ebf5a35052 Build Linux-only functions only on Linux hace 6 años
  Laslo Hunhold 7246dc4381
Move components into dedicated subdirectory hace 7 años
  Aaron Marcher 11d4bec648
Added LICENSE statements to all source files hace 7 años
  Aaron Marcher 6820631175
Split into multiple files hace 7 años