Home
last modified time | relevance | path

Searched refs:maxbattlevel (Results 1 – 1 of 1) sorted by relevance

/external/libmtp/examples/
Ddetect.c125 uint8_t maxbattlevel; in main() local
157 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()