Searched refs:maxbattlevel (Results 1 – 1 of 1) sorted by relevance
125 uint8_t maxbattlevel; in main() local157 ret = LIBMTP_Get_Batterylevel(device, &maxbattlevel, &currbattlevel); in main()159 fprintf(stdout, " Battery level %d of %d (%d%%)\n",currbattlevel, maxbattlevel, in main()160 (int) ((float) currbattlevel/ (float) maxbattlevel * 100.0)); in main()