[rockbox] / trunk / apps / plugins / battery_bench.c Repository:
ViewVC logotype

Log of /trunk/apps/plugins/battery_bench.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 18698 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 14:35:07 2008 UTC (8 days, 5 hours ago) by rmenes
File length: 15123 byte(s)
Diff to previous 18695
Fix red on Players, hopefully.

Revision 18695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 11:51:50 2008 UTC (8 days, 8 hours ago) by rmenes
File length: 15053 byte(s)
Diff to previous 18689
Recommit FS #9428 by David Hall. The SWCODEC targets should all work with this patch applied.

Revision 18689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 01:36:54 2008 UTC (8 days, 18 hours ago) by rmenes
File length: 15154 byte(s)
Diff to previous 18687
Revert r18687, as the patch appears to break battery_bench on the Archos Player. Should also fix red.

Revision 18687 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 01:04:06 2008 UTC (8 days, 19 hours ago) by rmenes
File length: 15053 byte(s)
Diff to previous 18569
Commit FS#9428 by David Hall: change battery bench messages on SWCODEC targets. The plugin should display the proper "canel" button on each target now.

Revision 18569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 22 19:59:00 2008 UTC (2 weeks, 5 days ago) by gevaerts
File length: 15154 byte(s)
Diff to previous 18435
Add player name and rockbox version to the battery_bench output
This need appsversion in plugin_api

Revision 18435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 6 17:50:59 2008 UTC (5 weeks ago) by dave
File length: 14847 byte(s)
Diff to previous 18338
Initial commit of iaudio 7 port by Vitja Makarov (FS#9245).  Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.

Revision 18338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 23 09:46:38 2008 UTC (7 weeks ago) by mcuelenaere
File length: 14667 byte(s)
Diff to previous 18281
Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN

Revision 18281 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 14 22:35:00 2008 UTC (8 weeks, 1 day ago) by bertrik
File length: 14664 byte(s)
Diff to previous 18139
Apply FS#9155 (Simplified battery bench). This is a simplification/rework of the current battery bench code. Battery measurements are now done simply once a minute (no more dependency on HDD specific timeouts) and are flushed to disk by using the ata_idle callback instead of polling ata_disk_is_active (this call is removed from the plugin API now) to make the plugin as unobtrusive as possible. This battery bench plugin also works for flash-based targets like sansa e200.

Revision 18139 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 27 20:40:20 2008 UTC (2 months, 2 weeks ago) by nls
File length: 16659 byte(s)
Diff to previous 18138
Oops, revert unrelated changes

Revision 18138 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 27 20:36:45 2008 UTC (2 months, 2 weeks ago) by nls
File length: 16659 byte(s)
Diff to previous 17847
FS#9221 by Christopher Williams fixing a couple of bugs in keybox

Revision 17847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 28 18:10:04 2008 UTC (3 months, 1 week ago) by bagder
File length: 16659 byte(s)
Diff to previous 17492
Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml

Revision 17492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 09:57:56 2008 UTC (4 months, 4 weeks ago) by pondlife
File length: 16559 byte(s)
Diff to previous 17261
Plugin parameters should be const.

Revision 17261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 27 15:30:19 2008 UTC (5 months, 2 weeks ago) by rob
File length: 16541 byte(s)
Diff to previous 16751
FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.

Revision 16751 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 22 22:03:34 2008 UTC (6 months, 2 weeks ago) by rob
File length: 16308 byte(s)
Diff to previous 16737
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).

Revision 16737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 22 10:24:28 2008 UTC (6 months, 2 weeks ago) by amiconn
File length: 16127 byte(s)
Diff to previous 16469
Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.

Revision 16469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 1 22:55:09 2008 UTC (7 months, 1 week ago) by roolku
File length: 15874 byte(s)
Diff to previous 16323
M:Robe 100: add button definition/bitmaps to plugins and enable compilation

Revision 16323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 17 12:23:02 2008 UTC (7 months, 3 weeks ago) by aliask
File length: 15656 byte(s)
Diff to previous 15282
Plugins now enabled and working for the Gigabeat S.

Revision 15282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 23 15:40:51 2007 UTC (11 months, 2 weeks ago) by jdgordon
File length: 15470 byte(s)
Diff to previous 15260
make the first bunch of plugins compile for the mrobe. an earlier commit broke the loading though, need to sort that out

Revision 15260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 22 05:57:38 2007 UTC (11 months, 3 weeks ago) by jethead71
File length: 15285 byte(s)
Diff to previous 15134
Phase in thread_wait when waiting for a thread to exit. Begin phasing out the spinlock object for general use; it will become a multicore-only object for core locking. Take care of plugins first.

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 16 01:25:17 2007 UTC (11 months, 3 weeks ago) by jethead71
File length: 15330 byte(s)
Diff to previous 14991
Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.

Revision 14991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 5 13:25:35 2007 UTC (12 months, 1 week ago) by linus
File length: 15324 byte(s)
Diff to previous 14989
Ooops

Revision 14989 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 5 11:51:34 2007 UTC (12 months, 1 week ago) by linus
File length: 15294 byte(s)
Diff to previous 14881
Platform specific button descriptions for battery bench. Fixes FS#7893

Revision 14881 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 28 11:12:45 2007 UTC (12 months, 2 weeks ago) by jethead71
File length: 14592 byte(s)
Diff to previous 14771
Get the plugins synced up with the threading changes.

Revision 14771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 20 10:49:48 2007 UTC (12 months, 3 weeks ago) by pixelma
File length: 14639 byte(s)
Diff to previous 14658
Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by Max Kelley with tweaks, bit of cleanup and additional bitmaps by me. Some of the now enabled plugins could still be improved in regard to screen size adaptation or keymaps but this way it can easily be done later and one by one. The rather ugly 'ifndef's I added temporaryly in plugins/SOURCES will also go one by one. Plugin button actions cause some quirks in a few plugins (e.g. 'clock') but since it's not critical , the bitmaps were already done and it makes a good example for discussing plugin button actions, I thought it could go in.

Revision 14658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 9 20:46:45 2007 UTC (13 months ago) by amiconn
File length: 14598 byte(s)
Diff to previous 14364
battery_bench: Fix battery voltage logging for voltages >4.095V by separating the flags from voltage.

Revision 14364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 15 23:57:27 2007 UTC (13 months, 3 weeks ago) by amiconn
File length: 14663 byte(s)
Diff to previous 14110
Switch to using millivolt for battery voltage and other internal voltages. * Fix debug voltage history display. * Some code cleanup.

Revision 14110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 1 08:50:44 2007 UTC (14 months, 1 week ago) by nls
File length: 14704 byte(s)
Diff to previous 14021
Disable 'Disk spindown' and 'Anti skip buffer' settings and some related stuff for flash storage targets as they make no sense

Revision 14021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 27 09:57:27 2007 UTC (14 months, 2 weeks ago) by amiconn
File length: 14674 byte(s)
Diff to previous 13628
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.

Revision 13628 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 14 15:07:54 2007 UTC (15 months, 4 weeks ago) by nls
File length: 14630 byte(s)
Diff to previous 13625
Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra header file

Revision 13625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 13 15:35:07 2007 UTC (15 months, 4 weeks ago) by nls
File length: 14665 byte(s)
Diff to previous 13050
Accept FS#7264 'Build with -Os switch for coldfire targets'.
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers 
functions to a plugin to make plugins link correctly when gcc
calls mem* functions directly.

Revision 13050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 22:55:00 2007 UTC (18 months ago) by amiconn
File length: 14603 byte(s)
Diff to previous 12815
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.

Revision 12815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 17 09:02:53 2007 UTC (18 months, 3 weeks ago) by amiconn
File length: 14612 byte(s)
Diff to previous 12809
Let GCC check arguments of some more printf-style functions, also for plugins and codecs.

Revision 12809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 23:02:39 2007 UTC (18 months, 3 weeks ago) by amiconn
File length: 14602 byte(s)
Diff to previous 12807
Rename some macros to account for the recently added M5 port. No code changes.

Revision 12807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 21:56:08 2007 UTC (18 months, 3 weeks ago) by amiconn
File length: 14600 byte(s)
Diff to previous 12601
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.

Revision 12601 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 20:06:41 2007 UTC (19 months, 1 week ago) by dan_a
File length: 14615 byte(s)
Diff to previous 12384
Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.)  This allows threads to be run on either core provided that all communications between the cores is done using uncached memory.  There should be no significant change in battery life from doing this.  Documentation (on the RockboxKernel wiki page) will follow shortly.

Revision 12384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 18 05:32:06 2007 UTC (19 months, 3 weeks ago) by jdgordon
File length: 14593 byte(s)
Diff to previous 11826
CONFIG_CHARGING

Revision 11826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 02:33:01 2006 UTC (21 months, 3 weeks ago) by jethead71
File length: 14650 byte(s)
Diff to previous 11818
Lil' tweak to plugins using remove_thread. Just use remove_thread(NULL) to have a thread remove itself. No subsequent yield() is needed either. Small Note: in current scheduler implementation it safe to call remove_thread IFF 1) thread removes itself 2) its state is known to be running (1 implies 2) as any objects with the waiting removed thread will be corrupted (m->thread, q->thread no longer valid or no longer same object if recycled, etc.).

Revision 11818 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 16:50:07 2006 UTC (21 months, 3 weeks ago) by jethead71
File length: 14825 byte(s)
Diff to previous 11663
Convert queues to use intptr_t for event data and return values as most of the time pointer are not passed and it should make some things a bit cleaner.

Revision 11663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 5 10:09:07 2006 UTC (22 months, 1 week ago) by markun
File length: 14828 byte(s)
Diff to previous 11612
add gigabeat button defines

Revision 11612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 27 02:16:32 2006 UTC (22 months, 2 weeks ago) by amiconn
File length: 14723 byte(s)
Diff to previous 11407
Moved archos button reading to target tree. * Cleanup of button.[ch]. * Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code.

Revision 11407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 31 11:34:46 2006 UTC (23 months, 1 week ago) by jdgordon
File length: 14694 byte(s)
Diff to previous 11405
player doesnt have lcd_update()... grr!

Revision 11405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 31 11:17:00 2006 UTC (23 months, 1 week ago) by jdgordon
File length: 14664 byte(s)
Diff to previous 11351
* give tsr plugins the choice to quit or not
* bumps plugin api version

Revision 11351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 13:38:09 2006 UTC (23 months, 2 weeks ago) by barrywardell
File length: 14217 byte(s)
Diff to previous 10958
Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.

Revision 10958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 16 16:18:11 2006 UTC (2 years ago) by miipekk
File length: 14112 byte(s)
Diff to previous 10668
New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.

Revision 10668 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 20 23:05:47 2006 UTC (2 years, 1 month ago) by barrywardell
File length: 14043 byte(s)
Diff to previous 10080
Fix errors when building H10 Normal build.

Revision 10080 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 6 22:23:52 2006 UTC (2 years, 4 months ago) by amiconn
File length: 13938 byte(s)
Diff to previous 9924
Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.

Revision 9924 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 13 07:41:12 2006 UTC (2 years, 5 months ago) by amiconn
File length: 13860 byte(s)
Diff to previous 9512
Battery benchmark: * Don't crash on player. * Map remote buttons for recorder & player.

Revision 9512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 5 08:33:20 2006 UTC (2 years, 6 months ago) by bger
File length: 13703 byte(s)
Diff to previous 9371
Fix bug #5037, spotted by David Rothenberger, also increase the max threads' count by 2

Revision 9371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 21:17:19 2006 UTC (2 years, 6 months ago) by bagder
File length: 13589 byte(s)
Diff to previous 8835
Enabled metronome and battery_bench for X5

Revision 8835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 24 20:54:09 2006 UTC (2 years, 7 months ago) by dave
File length: 13484 byte(s)
Diff to previous 8608
More iPod 3G work from Seven Le Mesle

Revision 8608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 16:41:29 2006 UTC (2 years, 8 months ago) by bger
File length: 13440 byte(s)
Diff to previous 8607
Fixed a few warnings

Revision 8607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 14:46:03 2006 UTC (2 years, 8 months ago) by bger
File length: 13411 byte(s)
Diff to previous 8551
1. Updated battery_bench plugin:
1.1 Don't use the plugin_get_buffer() so the playlist viewer should work with this plugin running;
1.2 Added new columns for charger inserted, charging, usb powered;
1.3 Some other small improvements
2. charger_inserted() again returns only the AC/DC charger state on H3x0, doesn't include the usb state;
3. Some ifdefs corrected in power.c and power.h;

Revision 8551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 23:16:24 2006 UTC (2 years, 8 months ago) by tomal
File length: 10957 byte(s)
Diff to previous 8453
Added iFP keybindings.

Revision 8453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 20:57:13 2006 UTC (2 years, 8 months ago) by bger
File length: 10848 byte(s)
Diff to previous 8452
Button mappings for iPods, using mp3_is_playing() for harware platforms, file format converted to unix

Revision 8452 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jan 25 18:35:36 2006 UTC (2 years, 8 months ago) by bger
File length: 10618 byte(s)
And the plugin itself ... :)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Admin: Björn Stenberg
ViewVC Help
Powered by ViewVC 1.1-dev