Hello, I had an Electron plugged into a USB port of my Mac for about 8 hours. Initially, the on-board red LED was lit up indicating that the battery was charging. At some point, the LED went off indicating that the charging is complete. However, when I check the state of charge with getSoC() I only get about 86%, so the charge state does not reach 100%. Is that correct?
That is the normal behaviour as there is a safety margin built into the PMIC defaults.
If you search the forum you will find some threads discussing means to change the defaults and also some that discus how to map the default range into a 0%…100% scale
e.g. this one which was the second hit of the search feature with
getSoC 100 as search terms