Lines Matching +full:full +full:-
4 * SPDX-License-Identifier: Apache-2.0
19 * first is the sensor channel to read (-1 to terminate the list)
36 if (chan == -1) { in get_channels()
56 struct sensor_value full, empty; in cmd_battery() local
63 return -ENODEV; in cmd_battery()
84 SENSOR_CHAN_GAUGE_TIME_TO_FULL, &full, in cmd_battery()
86 -1); in cmd_battery()
95 shell_fprintf(sh, SHELL_NORMAL, "V-desired: %d.%02d V\n", in cmd_battery()
104 shell_fprintf(sh, SHELL_NORMAL, "I-desired: %5d mA\n", in cmd_battery()
110 shell_fprintf(sh, SHELL_NORMAL, "V-design: %d.%02d V\n", in cmd_battery()
114 shell_fprintf(sh, SHELL_NORMAL, "Cap-full: %d mA\n", cap.val1); in cmd_battery()
116 shell_fprintf(sh, SHELL_NORMAL, "Time full: %dh:%02d\n", in cmd_battery()
117 full.val1 / 60, full.val1 % 60); in cmd_battery()