Searched refs:ac_online (Results 1 – 4 of 4) sorted by relevance
43 ac_online: u32, field79 create_battery_func!(set_ac_online, ac_online, AC_STATUS_CHANGED);224 BatControlCommand::SetACOnline(ac_online) => { in command_monitor()225 let v = if ac_online != 0 { 1 } else { 0 }; in command_monitor()256 bat_state.set_ac_online(if data.ac_online { 1 } else { 0 }); in command_monitor()322 ac_online: 1, in new()446 BATTERY_AC_ONLINE => self.state.lock().ac_online, in read()
29 let ac_online = if props.has_external_power() { in from() localVariable66 Self { ac_online, battery } in from()
14 pub ac_online: bool, field
30 ac_online = self._client.is_ac_connected()43 elif ac_online: