summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-31 12:37:29 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-31 12:37:29 +0000
commit09cc3e604d79fca8ca8bb6add2895732926880d9 (patch)
treea697e3aba1edeb960130576c70a87657e23674ab
parent22b12cafbb7aa4463170ad5752edcf2093b20c7b (diff)
downloadrockbox-09cc3e604d79fca8ca8bb6add2895732926880d9.tar.gz
rockbox-09cc3e604d79fca8ca8bb6add2895732926880d9.zip
battery_bench: comment the battery_bench.txt header with '#'
gnuplot will ignore lines which begin with '#' Split a line so the output will fit in 80 columns git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26430 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/battery_bench.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index 945abe924d..29fe4a484a 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -529,28 +529,28 @@ int main(void)
529 if (fd >= 0) 529 if (fd >= 0)
530 { 530 {
531 rb->fdprintf(fd, 531 rb->fdprintf(fd,
532 "This plugin will log your battery performance in a\n" 532 "# This plugin will log your battery performance in a\n"
533 "file (%s) every minute.\n" 533 "# file (%s) every minute.\n"
534 "To properly test your battery:\n" 534 "# To properly test your battery:\n"
535 "1) Select and playback an album. " 535 "# 1) Select and playback an album. "
536 "(Be sure to be more than the player's buffer)\n" 536 "# (Be sure to be more than the player's buffer)\n"
537 "2) Set to repeat.\n" 537 "# 2) Set to repeat.\n"
538 "3) Let the player run completely out of battery.\n" 538 "# 3) Let the player run completely out of battery.\n"
539 "4) Recharge and copy (or whatever you want) the txt file to " 539 "# 4) Recharge and copy (or whatever you want) the txt file to "
540 "your computer.\n" 540 "# your computer.\n"
541 "Now you can make graphs with the data of the battery log.\n" 541 "# Now you can make graphs with the data of the battery log.\n"
542 "Do not enter another plugin during the test or else the " 542 "# Do not enter another plugin during the test or else the \n"
543 "logging activity will end.\n\n" 543 "# logging activity will end.\n\n"
544 "P.S: You can decide how you will make your tests.\n" 544 "# P.S: You can decide how you will make your tests.\n"
545 "Just don't open another plugin to be sure that your log " 545 "# Just don't open another plugin to be sure that your log "
546 "will continue.\n\n",BATTERY_LOG); 546 "will continue.\n\n",BATTERY_LOG);
547 rb->fdprintf(fd, 547 rb->fdprintf(fd,
548 "Battery bench run for %s version %s\n\n" 548 "# Battery bench run for %s version %s\n\n"
549 ,MODEL_NAME,rb->rbversion); 549 ,MODEL_NAME,rb->rbversion);
550 550
551 rb->fdprintf(fd, 551 rb->fdprintf(fd,
552 "Battery type: %d mAh Buffer Entries: %d\n" 552 "# Battery type: %d mAh Buffer Entries: %d\n"
553 " Time:, Seconds:, Level:, Time Left:, Voltage[mV]:" 553 "# Time:, Seconds:, Level:, Time Left:, Voltage[mV]:"
554#if CONFIG_CHARGING 554#if CONFIG_CHARGING
555 ", C:" 555 ", C:"
556#endif 556#endif