haiku/headers/private/system/arch/x86/apm_defs.h
Clemens Zeidler ceaa15b6a7 Forgot this, thanks to Andrea Bernardi!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 18:24:27 +00:00

24 lines
454 B
C

/*
* Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef SYSTEM_ARCH_X86_APM_DEFS_H
#define SYSTEM_ARCH_X86_APM_DEFS_H
#include <SupportDefs.h>
// temporary generic syscall interface
#define APM_SYSCALLS "apm"
#define APM_GET_BATTERY_INFO 1
struct apm_battery_info {
bool online;
int32 percent;
time_t time_left;
};
#endif /* SYSTEM_ARCH_X86_APM_DEFS_H */