michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set sw=2 ts=8 et ft=cpp : */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "Hal.h" michael@0: #include "mozilla/dom/battery/Constants.h" michael@0: michael@0: namespace mozilla { michael@0: namespace hal_impl { michael@0: michael@0: void michael@0: EnableBatteryNotifications() michael@0: {} michael@0: michael@0: void michael@0: DisableBatteryNotifications() michael@0: {} michael@0: michael@0: void michael@0: GetCurrentBatteryInformation(hal::BatteryInformation* aBatteryInfo) michael@0: { michael@0: aBatteryInfo->level() = dom::battery::kDefaultLevel; michael@0: aBatteryInfo->charging() = dom::battery::kDefaultCharging; michael@0: aBatteryInfo->remainingTime() = dom::battery::kDefaultRemainingTime; michael@0: } michael@0: michael@0: } // hal_impl michael@0: } // namespace mozilla