Searched refs:battery_state (Results 1 – 1 of 1) sorted by relevance
47 typedef struct battery_state { struct58 static battery_state_t battery_state; argument87 (void) memset(&battery_state, 0, sizeof (battery_state_t)); in pt_battery_print()107 pt_display_acpi_power(battery_state.exist, battery_state.present_rate, in pt_battery_print()108 battery_state.remain_cap, battery_state.last_cap, in pt_battery_print()109 battery_state.bst_state); in pt_battery_print()144 battery_state.power_unit = knp->value.ui32; in pt_battery_stat_snapshot()168 battery_state.present_rate = 0; in pt_battery_stat_snapshot()170 battery_state.exist = 1; in pt_battery_stat_snapshot()171 battery_state.present_rate = mW2W((double)(knp->value.ui32)); in pt_battery_stat_snapshot()[all …]