Home
last modified time | relevance | path

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

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