| 1234567891011121314 |
- #ifndef __SMART_BATTERY_H__
- #define __SMART_BATTERY_H__
- struct smart_battery_info
- {
- unsigned char status; // 0-NOT PRESENT, 1-CHARGING, 2-NOT CHARGED
- unsigned char capacity; // 0-100
- };
- int get_battery_info(struct smart_battery_info *info);
- int battery_acpi_driver_init(void);
- void battery_acpi_driver_exit(void);
- #endif
|