fix:
update:添加注释
This commit is contained in:
2022-04-29 16:48:52 +08:00
parent 7ac975f4cc
commit 5b335c3029
3 changed files with 7 additions and 1 deletions

View File

@@ -1473,6 +1473,11 @@ public class Utils {
return 0;
}
/**
* 获取电池容量
* @param context
* @return
*/
public static double getBatterymAh(Context context) {
Object mPowerProfile;
double batteryCapacity = 0; //电池的容量mAh