mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 04:09:48 +00:00
18f43226d2
Previously, before powerd monitor is set up and receives first broadcast signal from powerd, the read() function will return default initial power property, which does not reflect the real host battery. This Cl makes goldfish battery device request to get power property before first time read. It is achieved by sending GetPowerSupplyProperties dbus request to powerd. BUG=b:361281568 TEST=deploy to DUT & test Change-Id: I5044ded5efc744525dfe87fe81370f202f0a43fb Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5918906 Commit-Queue: Yuan Yao <yuanyaogoog@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml | ||
power_supply_properties.proto |