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