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

Issue 32443004: ash: Improve low-battery notification thresholds. (Closed)

Created:
7 years, 2 months ago by Daniel Erat
Modified:
7 years, 2 months ago
Reviewers:
James Cook
CC:
chromium-reviews, sadrul, derat+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, ben+ash_chromium.org
Visibility:
Public.

Description

ash: Improve low-battery notification thresholds. Use rounded minute and percentage values when determining when to show low-battery notifications. Also round minutes-to-empty values shown in notifications. BUG=chrome-os-partner:23458 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230353

Patch Set 1 #

Total comments: 2

Patch Set 2 : apply review feedback: update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -27 lines) Patch
M ash/system/chromeos/power/power_status.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ash/system/chromeos/power/power_status.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ash/system/chromeos/power/power_status_unittest.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M ash/system/chromeos/power/power_status_view.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/system/chromeos/power/tray_power.h View 1 chunk +10 lines, -0 lines 0 comments Download
M ash/system/chromeos/power/tray_power.cc View 4 chunks +20 lines, -21 lines 0 comments Download
M ash/system/chromeos/power/tray_power_unittest.cc View 1 chunk +54 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Daniel Erat
7 years, 2 months ago (2013-10-21 23:40:44 UTC) #1
James Cook
LGTM with optional nit https://codereview.chromium.org/32443004/diff/1/ash/system/chromeos/power/power_status.cc File ash/system/chromeos/power/power_status.cc (right): https://codereview.chromium.org/32443004/diff/1/ash/system/chromeos/power/power_status.cc#newcode115 ash/system/chromeos/power/power_status.cc:115: const double seconds = nit: ...
7 years, 2 months ago (2013-10-22 00:32:39 UTC) #2
Daniel Erat
https://codereview.chromium.org/32443004/diff/1/ash/system/chromeos/power/power_status.cc File ash/system/chromeos/power/power_status.cc (right): https://codereview.chromium.org/32443004/diff/1/ash/system/chromeos/power/power_status.cc#newcode115 ash/system/chromeos/power/power_status.cc:115: const double seconds = On 2013/10/22 00:32:40, James Cook ...
7 years, 2 months ago (2013-10-22 03:22:04 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/32443004/70001
7 years, 2 months ago (2013-10-22 03:23:00 UTC) #4
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-22 04:54:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/32443004/70001
7 years, 2 months ago (2013-10-22 16:22:21 UTC) #6
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=91846
7 years, 2 months ago (2013-10-22 22:58:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/32443004/70001
7 years, 2 months ago (2013-10-22 23:08:05 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-23 02:40:04 UTC) #9
Daniel Erat
On 2013/10/23 02:40:04, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 2 months ago (2013-10-23 02:48:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/32443004/70001
7 years, 2 months ago (2013-10-23 02:49:53 UTC) #11
commit-bot: I haz the power
7 years, 2 months ago (2013-10-23 06:39:16 UTC) #12
Message was sent while issue was closed.
Change committed as 230353

Powered by Google App Engine
This is Rietveld 408576698