You cannot directly get these 2 keys by using KeyManager. you should use battery.setStateCallback and then in the stateCallback, you can check state.getFullChargeCapacity and state.getNumberOfDischarges.
You cannot directly get these 2 keys by using KeyManager. you should use battery.setStateCallback and then in the stateCallback, you can check state.getFullChargeCapacity and state.getNumberOfDischarges.
Comments
0 comments
Please sign in to leave a comment.