1 /***************************************************************************
5 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
6 * Use is subject to license terms.
8 * Licensed under the Academic Free License version 2.1
10 **************************************************************************/
12 #pragma ident "%Z%%M% %I% %E% SMI"
17 #include "../hald/util.h"
19 #define BATTERY_POLL_TIMER 30000
21 gboolean
battery_update(LibHalContext
*ctx
, const char *udi
, int fd
);
22 gboolean
ac_adapter_update(LibHalContext
*ctx
, const char *udi
, int fd
);
23 gboolean
lid_update(LibHalContext
*ctx
, const char *udi
, int fd
);
24 gboolean
laptop_panel_update(LibHalContext
*ctx
, const char *udi
, int fd
);
25 gboolean
update_devices(gpointer data
);
26 int open_device(LibHalContext
*ctx
, char *udi
);