Lines Matching refs:vs
421 char vs[128]; in dumpState() local
423 snprintf(vs, sizeof(vs), "ac: %d usb: %d wireless: %d current_max: %d voltage_max: %d\n", in dumpState()
427 write(fd, vs, strlen(vs)); in dumpState()
428 snprintf(vs, sizeof(vs), "status: %d health: %d present: %d\n", in dumpState()
430 write(fd, vs, strlen(vs)); in dumpState()
431 snprintf(vs, sizeof(vs), "level: %d voltage: %d temp: %d\n", in dumpState()
434 write(fd, vs, strlen(vs)); in dumpState()
438 snprintf(vs, sizeof(vs), "current now: %d\n", v); in dumpState()
439 write(fd, vs, strlen(vs)); in dumpState()
444 snprintf(vs, sizeof(vs), "current avg: %d\n", v); in dumpState()
445 write(fd, vs, strlen(vs)); in dumpState()
450 snprintf(vs, sizeof(vs), "charge counter: %d\n", v); in dumpState()
451 write(fd, vs, strlen(vs)); in dumpState()
455 snprintf(vs, sizeof(vs), "current now: %d\n", props.batteryCurrent); in dumpState()
456 write(fd, vs, strlen(vs)); in dumpState()
460 snprintf(vs, sizeof(vs), "cycle count: %d\n", props.batteryCycleCount); in dumpState()
461 write(fd, vs, strlen(vs)); in dumpState()
465 snprintf(vs, sizeof(vs), "Full charge: %d\n", props.batteryFullCharge); in dumpState()
466 write(fd, vs, strlen(vs)); in dumpState()