Lines Matching refs:vs
419 char vs[128]; in dumpState() local
421 snprintf(vs, sizeof(vs), "ac: %d usb: %d wireless: %d current_max: %d voltage_max: %d\n", in dumpState()
425 write(fd, vs, strlen(vs)); in dumpState()
426 snprintf(vs, sizeof(vs), "status: %d health: %d present: %d\n", in dumpState()
428 write(fd, vs, strlen(vs)); in dumpState()
429 snprintf(vs, sizeof(vs), "level: %d voltage: %d temp: %d\n", in dumpState()
432 write(fd, vs, strlen(vs)); in dumpState()
436 snprintf(vs, sizeof(vs), "current now: %d\n", v); in dumpState()
437 write(fd, vs, strlen(vs)); in dumpState()
442 snprintf(vs, sizeof(vs), "current avg: %d\n", v); in dumpState()
443 write(fd, vs, strlen(vs)); in dumpState()
448 snprintf(vs, sizeof(vs), "charge counter: %d\n", v); in dumpState()
449 write(fd, vs, strlen(vs)); in dumpState()
453 snprintf(vs, sizeof(vs), "current now: %d\n", props.batteryCurrent); in dumpState()
454 write(fd, vs, strlen(vs)); in dumpState()
458 snprintf(vs, sizeof(vs), "cycle count: %d\n", props.batteryCycleCount); in dumpState()
459 write(fd, vs, strlen(vs)); in dumpState()
463 snprintf(vs, sizeof(vs), "Full charge: %d\n", props.batteryFullCharge); in dumpState()
464 write(fd, vs, strlen(vs)); in dumpState()