1N/A/***************************************************************************
1N/A *
1N/A * acpi.h
1N/A *
1N/A * Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
1N/A *
1N/A * This file is licensed under either the Academic Free License
1N/A * version 2.1 or The GNU General Public License version 2.
1N/A *
1N/A **************************************************************************/
1N/A
1N/A#ifndef ACPI_H
1N/A#define ACPI_H
1N/A
1N/A#include "../hald/util.h"
1N/A
1N/A#define BATTERY_POLL_TIMER 30000
1N/A
1N/Agboolean battery_update(LibHalContext *ctx, const char *udi, int fd);
1N/Agboolean ac_adapter_update(LibHalContext *ctx, const char *udi, int fd);
1N/Agboolean lid_update(LibHalContext *ctx, const char *udi, int fd);
1N/Agboolean laptop_panel_update(LibHalContext *ctx, const char *udi, int fd);
1N/Agboolean update_devices(gpointer data);
1N/Aint open_device(LibHalContext *ctx, char *udi);
1N/A
1N/A#endif /* ACPI_H */