Home
last modified time | relevance | path

Searched defs:BatteryState (Results 1 – 2 of 2) sorted by relevance

/external/cronet/base/power_monitor/
Dbattery_level_provider.h37 struct BatteryState { struct
39 int battery_count = 0;
43 bool is_external_power_connected = false;
46 absl::optional<uint64_t> current_capacity;
49 absl::optional<uint64_t> full_charged_capacity;
53 absl::optional<uint64_t> voltage_mv;
57 absl::optional<BatteryLevelUnit> charge_unit;
60 base::TimeTicks capture_time;
85 base::OnceCallback<void(const absl::optional<BatteryState>&)> argument
/external/crosvm/power_monitor/
Dpower_supply_properties.proto34 enum BatteryState { enum