Commit 2eae5b40 authored by Thanh Nguyen's avatar Thanh Nguyen Committed by Commit Bot

[smart-charging] Add a field to UserChargingEvent

Add an additional field to UserChargingEvent.

Bug: 1028853
Change-Id: Icffeba88fa2ac949defd8b564f9420b2e0f40149
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1983118Reviewed-by: default avatarJia Meng <jiameng@chromium.org>
Commit-Queue: Thanh Nguyen <thanhdng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727932}
parent b4de19b4
...@@ -89,6 +89,9 @@ message UserChargingEvent { ...@@ -89,6 +89,9 @@ message UserChargingEvent {
optional int32 screen_brightness_percent = 19; optional int32 screen_brightness_percent = 19;
// Charge voltage in mV. // Charge voltage in mV.
optional int32 voltage = 20; optional int32 voltage = 20;
// Whether there's any shutdown/suspend action between the last charge
// and current event.
optional bool halt_from_last_charge = 21;
} }
message Event { message Event {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment