| Index: chrome/browser/chromeos/cros/power_library.cc
|
| diff --git a/chrome/browser/chromeos/cros/power_library.cc b/chrome/browser/chromeos/cros/power_library.cc
|
| index e6d96c9b31b60f159fba51336455b1efc9633e47..b91dd31684aa88a2970d5c9fcf9000a6b51b80a8 100644
|
| --- a/chrome/browser/chromeos/cros/power_library.cc
|
| +++ b/chrome/browser/chromeos/cros/power_library.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -166,11 +166,11 @@ class PowerLibraryStubImpl : public PowerLibrary {
|
| void AddObserver(Observer* observer) {}
|
| void RemoveObserver(Observer* observer) {}
|
| bool line_power_on() const { return false; }
|
| - bool battery_is_present() const { return false; }
|
| + bool battery_is_present() const { return true; }
|
| bool battery_fully_charged() const { return false; }
|
| - double battery_percentage() const { return false; }
|
| + double battery_percentage() const { return 50.0; }
|
| base::TimeDelta battery_time_to_empty() const {
|
| - return base::TimeDelta::FromSeconds(0);
|
| + return base::TimeDelta::FromSeconds(10 * 60);
|
| }
|
| base::TimeDelta battery_time_to_full() const {
|
| return base::TimeDelta::FromSeconds(0);
|
|
|