[freezing] Enable BatteryMetrics on Windows.
BatteryMetrics did not connect to a remote BatteryMonitor due to a shutdown crash (https://crbug.com/794105). This shutdown issue was fixed by using SequenceLocalStorageSlot to tear down the BatteryStatusService on thread thread termination (https://crrev.com/665919). This CL can therefore safely change the code to connect to a remote BatteryMonitor on Windows. The immediate impact is that Power.BatteryPercentDrop will be properly recorded on Windows. In upcoming CLs, we plan to record more battery metrics on all platforms. Bug: 794105, 1026678 Change-Id: Iebd3f32beda2ae487c5b23263ec95e350390b237 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1925130Reviewed-by:Tarun Bansal <tbansal@chromium.org> Commit-Queue: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#717704}
Showing
Please register or sign in to comment