battery_acpi.h 307 B

1234567891011121314151617181920
  1. #ifndef BACKEND_BATTERY_ACPI_H_
  2. #define BACKEND_BATTERY_ACPI_H_
  3. #include "battery.h"
  4. struct battery_acpi {
  5. struct battery battery;
  6. int on_ac;
  7. int charge_max;
  8. int charge_now;
  9. char *ac_online_filename;
  10. char *charge_max_filename;
  11. char *charge_now_filename;
  12. };
  13. #endif /* BACKEND_BATTERY_ACPI_H_ */