src/core/android/SDL_android.h
changeset 6448 64a6297a8b93
parent 6392 fa7eb111f994
child 6464 ab55284b389f
--- a/src/core/android/SDL_android.h	Thu Sep 20 22:40:23 2012 -0700
+++ b/src/core/android/SDL_android.h	Sun Sep 23 01:37:44 2012 -0700
@@ -47,6 +47,9 @@
 size_t Android_JNI_FileWrite(SDL_RWops* ctx, const void* buffer, size_t size, size_t num);
 int Android_JNI_FileClose(SDL_RWops* ctx);
 
+/* Power support */
+int Android_JNI_GetPowerInfo(int* plugged, int* charged, int* battery, int* seconds, int* percent);
+
 // Threads
 #include <jni.h>
 static void Android_JNI_ThreadDestroyed(void*);