Hi,

I wonder what's the exact difference between several defines concerning
the charging state from the powersave daemon libraries.

powerlib.h:
---------

#define CHARG_STATE_UNKNOWN 0
#define CHARG_STATE_CHARGING    1
#define CHARG_STATE_DISCHARGING 2
#define CHARG_STATE_CHARG_DISCHARG (CHARG_STATE_CHARGING |
                                   CHARG_STATE_DISCHARGING)

powersave_daemonlib.h:
---------------------

#define POWERSAVED_BATTERY_CHARGING             0x0000000e
#define POWERSAVED_BATTERY_DISCHARGING          0x00000010
#define POWERSAVED_BATTERY_CHARG_DISCHARG       0x00000011
#define POWERSAVED_BATTERY_CHARG_UNKNOWN        0x00000012


Where's the difference and when should I use which set? Maybe someone can
clarify.


Greetings,
        Holger
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to