Chromium Code Reviews
Help | Chromium Project | Sign in
(48)

Issue 6797001: power_manager : Allow nocrit use flag to disable low batt shutdown. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 1 month ago by Benson Leung
Modified:
4 years ago
CC:
chromium-os-reviews_chromium.org, msb+crosoverlay_chromium.org, adlr+crosoverlay_chromium.org, anush
Visibility:
Public.

Description

power_manager : Allow nocrit use flag to disable low batt shutdown. Change-Id: Iefecc383f66ff99799c37be22f7185efa5f2e604 Signed-off-by: Benson Leung <bleung@chromium.org>; Signed-off-by: Sameer Nanda <snanda@chromium.org>; Signed-off-by: Jonathan Kliegman <kliegs@chromium.org>; BUG=chrome-os-partner:3127 TEST=built with board with use flag enabled. Ensured that low_battery_suspend_percent is changed to 0. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=3393fd0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed to add comment and check for existence #

Patch Set 3 : cleaned up 80cols #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M chromeos-base/power_manager/power_manager-9999.ebuild View 1 2 2 chunks +10 lines, -1 line 0 comments Download
Trybot results:
Commit: CQ not working?

Messages

Total messages: 8 (0 generated)
Benson Leung
4 years, 1 month ago (2011-04-05 08:27:24 UTC) #1
kliegs
Should this do an existence check on the file in case it ever gets moved ...
4 years, 1 month ago (2011-04-05 13:34:49 UTC) #2
Sameer Nanda
LGTM http://codereview.chromium.org/6797001/diff/1/chromeos-base/power_manager/power_manager-9999.ebuild File chromeos-base/power_manager/power_manager-9999.ebuild (right): http://codereview.chromium.org/6797001/diff/1/chromeos-base/power_manager/power_manager-9999.ebuild#newcode125 chromeos-base/power_manager/power_manager-9999.ebuild:125: if use nocrit; then can you add a ...
4 years, 1 month ago (2011-04-05 15:48:29 UTC) #3
Benson Leung
http://codereview.chromium.org/6797001/diff/1/chromeos-base/power_manager/power_manager-9999.ebuild File chromeos-base/power_manager/power_manager-9999.ebuild (right): http://codereview.chromium.org/6797001/diff/1/chromeos-base/power_manager/power_manager-9999.ebuild#newcode125 chromeos-base/power_manager/power_manager-9999.ebuild:125: if use nocrit; then On 2011/04/05 15:48:29, Sameer Nanda ...
4 years, 1 month ago (2011-04-05 22:33:30 UTC) #4
Sameer Nanda
On 2011/04/05 22:33:30, Benson Leung wrote: > http://codereview.chromium.org/6797001/diff/1/chromeos-base/power_manager/power_manager-9999.ebuild > File chromeos-base/power_manager/power_manager-9999.ebuild (right): > > http://codereview.chromium.org/6797001/diff/1/chromeos-base/power_manager/power_manager-9999.ebuild#newcode125 ...
4 years, 1 month ago (2011-04-05 22:36:53 UTC) #5
kliegs
Is nocrit used elsewhere? What does that USE flag signify or what else does it ...
4 years, 1 month ago (2011-04-05 22:38:04 UTC) #6
kliegs
Sorry - and the change LGTM as well. Don't hold this up on me as ...
4 years, 1 month ago (2011-04-05 22:42:17 UTC) #7
Benson Leung
4 years, 1 month ago (2011-04-05 22:49:42 UTC) #8
Nocrit is not used anywhere else. It's a specific power manager use flag to
allow us to quickly disable the critical battery behavior on a broken prototype
platform.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be