blob: 579ee1887998c36f124167f0fa841c32950bbd65 [file] [log] [blame]
// Copyright 2014 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.
// https://w3c.github.io/battery/#the-navigator-interface
[
ImplementedAs=NavigatorBattery
] partial interface Navigator {
[CallWith=ScriptState, MeasureAs=BatteryStatusGetBattery] Promise getBattery();
};