On my system, Symbol.ResourceCoordination.SmartBatteryStatus has only two functions: Equals, and ReferenceEquals. There are no properties and so no StateOfHealthEx property.
Except that, on a fully charged battery, the interface reports a StateOfHealthEx value of zero. Or is this supposed to be the percentage of charge USED and not REMAINING?
5 Replies
OK, just ran an extended test and determined that on an MC65, regardless of the battery state of discharge, StateOfHealthEx value is constantly zero.
I ran the battery down and the value is still zero.
So either there is a bug in the MC65, or, StateOfHealthEx is not the answer.
Hi,
Look at Symbol.ResourceCoodination namespace and the SmartBatteryStatus class. There is a property there for StateOfHealthEx.
Also here is latest version of EMDK: https://portal.motorolasolutions.com/Support/US-EN/Resolution?solutionI…
RG:
On my system, Symbol.ResourceCoordination.SmartBatteryStatus has only two functions: Equals, and ReferenceEquals. There are no properties and so no StateOfHealthEx property.
Except that, on a fully charged battery, the interface reports a StateOfHealthEx value of zero. Or is this supposed to be the percentage of charge USED and not REMAINING?
RG:
Aaargh, my bad.
One has to declare an instance of the class first, as in:
sbs = New Symbol.ResourceCoordination.SmartBatteryStatus
myuint = sbs.StateOfHealthEx
I've marked your answer "correct". Thank you for the help.