Searched refs:bBatteryPresent (Results 1 – 6 of 6) sorted by relevance
137 gboolean bBatteryPresent = (*cCurVal == 'y'); in cd_get_stats_from_proc_acpi() local138 if (bBatteryPresent != myData.bBatteryPresent) // the battery has just been inserted/removed. in cd_get_stats_from_proc_acpi()140 myData.bBatteryPresent = bBatteryPresent; in cd_get_stats_from_proc_acpi()141 if (! bBatteryPresent) // if the battery has been removed, we are obviously on the sector. in cd_get_stats_from_proc_acpi()
137 gboolean bBatteryPresent = (*str == '1'); in cd_get_stats_from_sys_class() local138 if (bBatteryPresent != myData.bBatteryPresent) // the battery has just been inserted/removed. in cd_get_stats_from_sys_class()140 myData.bBatteryPresent = bBatteryPresent; in cd_get_stats_from_sys_class()141 if (! bBatteryPresent) // if the battery has been removed, we are obviously on the sector. in cd_get_stats_from_sys_class()
115 if (myData.bBatteryPresent && ! myData.bOnBattery)
116 gboolean bBatteryPresent; member
104 if (! myData.bBatteryPresent) in update_icon()137 if (! myData.bBatteryPresent) in update_icon()
88 myData.bBatteryPresent = FALSE; in _fetch_current_values()103 myData.bBatteryPresent |= is_present; in _fetch_current_values()