Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Issue 148113004: chromeos: Avoid notification for original Spring charger. (Closed)

Created:
6 years, 11 months ago by Daniel Erat
Modified:
6 years, 10 months ago
Reviewers:
jennyz
CC:
chromium-reviews, sadrul, derat+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, ben+ash_chromium.org
Visibility:
Public.

Description

chromeos: Avoid notification for original Spring charger. Fix a bug that resulted in "Battery full" notifications being shown when using an original Spring charger. BUG=338376 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247397

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M ash/system/chromeos/power/power_status.cc View 1 chunk +2 lines, -7 lines 0 comments Download
M ash/system/chromeos/power/tray_power.cc View 3 chunks +6 lines, -3 lines 3 comments Download
M ash/system/chromeos/power/tray_power_unittest.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Daniel Erat
https://codereview.chromium.org/148113004/diff/1/ash/system/chromeos/power/tray_power.cc File ash/system/chromeos/power/tray_power.cc (right): https://codereview.chromium.org/148113004/diff/1/ash/system/chromeos/power/tray_power.cc#newcode254 ash/system/chromeos/power/tray_power.cc:254: PowerStatus::Get()->IsBatteryFull()) { These IsBatteryFull() checks aren't necessary for the ...
6 years, 11 months ago (2014-01-27 17:36:25 UTC) #1
jennyz
https://codereview.chromium.org/148113004/diff/1/ash/system/chromeos/power/tray_power.cc File ash/system/chromeos/power/tray_power.cc (right): https://codereview.chromium.org/148113004/diff/1/ash/system/chromeos/power/tray_power.cc#newcode237 ash/system/chromeos/power/tray_power.cc:237: status.IsOriginalSpringChargerConnected()) { what if the user confirms they are ...
6 years, 11 months ago (2014-01-27 18:03:37 UTC) #2
jennyz
LGTM. woops, I forgot we report for the new spring charger as Main charger. Sorry, ...
6 years, 11 months ago (2014-01-27 18:08:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/148113004/1
6 years, 11 months ago (2014-01-27 18:09:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/148113004/1
6 years, 10 months ago (2014-01-28 00:16:39 UTC) #5
commit-bot: I haz the power
6 years, 10 months ago (2014-01-28 02:53:19 UTC) #6
Message was sent while issue was closed.
Change committed as 247397

Powered by Google App Engine
This is Rietveld 408576698