diff src/power/SDL_power.c @ 3204:f77f50add24f

Removed stub for Linux /sys/power processing. Apparently /sys/power doesn't expose battery information at this time.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 30 Jun 2009 05:27:11 +0000
parents 51750b7a966f
children a67a961e2171
line wrap: on
line diff
--- a/src/power/SDL_power.c	Tue Jun 30 03:50:30 2009 +0000
+++ b/src/power/SDL_power.c	Tue Jun 30 05:27:11 2009 +0000
@@ -30,7 +30,6 @@
     (*SDL_GetPowerInfo_Impl) (SDL_PowerState * state, int *seconds,
                               int *percent);
 
-SDL_bool SDL_GetPowerInfo_Linux_sys_power(SDL_PowerState *, int *, int *);
 SDL_bool SDL_GetPowerInfo_Linux_proc_acpi(SDL_PowerState *, int *, int *);
 SDL_bool SDL_GetPowerInfo_Linux_proc_apm(SDL_PowerState *, int *, int *);
 SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState *, int *, int *);
@@ -57,7 +56,6 @@
 static SDL_GetPowerInfo_Impl implementations[] = {
 #ifndef SDL_POWER_DISABLED
 #ifdef SDL_POWER_LINUX          /* in order of preference. More than could work. */
-    SDL_GetPowerInfo_Linux_sys_power,
     SDL_GetPowerInfo_Linux_proc_acpi,
     SDL_GetPowerInfo_Linux_proc_apm,
 #endif