2 * Copyright 2009-2015, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Clemens Zeidler, haiku@clemens-zeidler.de
8 #ifndef APM_DRIVER_INTERFACE_H
9 #define APM_DRIVER_INTERFACE_H
12 #include "DriverInterface.h"
15 class APMDriverInterface
: public PowerStatusDriverInterface
{
17 virtual ~APMDriverInterface();
19 virtual status_t
Connect();
20 virtual status_t
GetBatteryInfo(int32 index
, battery_info
* info
);
21 virtual status_t
GetExtendedBatteryInfo(int32 index
,
22 acpi_extended_battery_info
* info
);
23 virtual int32
GetBatteryCount();
26 virtual void _WatchPowerStatus();
30 #endif // APM_DRIVER_INTERFACE_H