Signed-off-by: kirby <zhangruiming4@huawei.com>
This commit is contained in:
kirby
2026-02-09 11:46:26 +08:00
parent 6023eb9720
commit c0f5b48d8d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ public class BatteryInfo {
}
}
public init() {
init() {
super()
}
}
+1
View File
@@ -32,6 +32,7 @@ import std.deriving.Derive
syscap: "SystemCapability.PowerManager.BatteryManager.Core"
]
public class BatteryInfo {
init() {}
/**
* Battery state of charge (SoC) of the current device, in percent.
*/