summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/base_lib.scons1
-rw-r--r--base/system_monitor_posix.cc16
2 files changed, 17 insertions, 0 deletions
diff --git a/base/base_lib.scons b/base/base_lib.scons
index e7a83fd..15791df 100644
--- a/base/base_lib.scons
+++ b/base/base_lib.scons
@@ -333,6 +333,7 @@ if env.Bit('posix'):
'shared_memory_posix.cc',
'string16.cc',
'sys_info_posix.cc',
+ 'system_monitor_posix.cc',
'thread_local_storage_posix.cc',
'thread_local_posix.cc',
'time_posix.cc',
diff --git a/base/system_monitor_posix.cc b/base/system_monitor_posix.cc
new file mode 100644
index 0000000..103010f
--- /dev/null
+++ b/base/system_monitor_posix.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2008 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.
+
+#include "base/system_monitor.h"
+
+#include "base/logging.h"
+
+namespace base {
+
+bool SystemMonitor::IsBatteryPower() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace base