mirror of
https://github.com/openharmony/powermgr_powermgr_cangjie_wrapper.git
synced 2026-07-01 08:11:50 -04:00
@@ -133,7 +133,7 @@ public class BatteryInfo {
|
||||
}
|
||||
}
|
||||
|
||||
public init() {
|
||||
init() {
|
||||
super()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user