Searched refs:g_battClient (Results 1 – 2 of 2) sorted by relevance
29 thread_local static BatterySrvClient& g_battClient = BatterySrvClient::GetInstance(); variable34 int32_t capacity = g_battClient.GetCapacity(); in BatterySOC()45 int32_t chargingState = (int32_t)g_battClient.GetChargingStatus(); in GetChargingState()57 int32_t healthStatus = (int32_t)g_battClient.GetHealthStatus(); in GetHealthState()69 int32_t pluggedType = (int32_t)g_battClient.GetPluggedType(); in GetPluggedType()81 int32_t voltage = g_battClient.GetVoltage(); in GetVoltage()93 auto technology = g_battClient.GetTechnology(); in GetTechnology()105 int32_t temperature = g_battClient.GetBatteryTemperature(); in GetBatteryTemperature()117 bool present = g_battClient.GetPresent(); in GetBatteryPresent()129 int32_t curNow = g_battClient.GetNowCurrent(); in GetBatteryNowCurrent()[all …]
199 BatterySrvClient& g_battClient = BatterySrvClient::GetInstance(); in GetBatteryInfo() local200 capacity_ = g_battClient.GetCapacity(); in GetBatteryInfo()201 chargingState_ = g_battClient.GetChargingStatus(); in GetBatteryInfo()