Use a BroadcastReceiver to get the battery info instead of polling

This commit is contained in:
Guillaume Meunier
2024-11-01 14:13:58 +01:00
parent c011c18411
commit a5fda396b9
7 changed files with 55 additions and 88 deletions
+7
View File
@@ -0,0 +1,7 @@
package org.meumeu.wivrn;
public class BroadcastReceiver extends android.content.BroadcastReceiver
{
@Override
public native void onReceive(android.content.Context ctxt, android.content.Intent intent);
}