PIJUICE_SENSOR_VOLTAGE
strlcpy(sc->sc_sensor[PIJUICE_SENSOR_VOLTAGE].desc, "battery voltage",
sizeof(sc->sc_sensor[PIJUICE_SENSOR_VOLTAGE].desc));
sc->sc_sensor[PIJUICE_SENSOR_VOLTAGE].type = SENSOR_VOLTS_DC;
sc->sc_sensor[PIJUICE_SENSOR_VOLTAGE].value = val16 * 1000;
sc->sc_sensor[PIJUICE_SENSOR_VOLTAGE].flags &= ~SENSOR_FINVALID;