83Plus:OS:Power Usage

From WikiTI
Revision as of 22:16, 1 May 2011 by Dr. D'nar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Somebody posted a questions about power usage, so I decided to some research on the topic. Here are my results. They show that coding practices can have a significant effect on power usage. I also speculate that hooks can adversely affect battery life, too, though more research is needed.

Somebody should Wikify this into a table, and maybe add more data. Be sure to specify your supply voltage with the current measurements.

TI-84+SE Current Draw at 6.25 VDC supply voltage

Program			Current		Notes
EOS (aka TIOS)		95.2 microamps	"Off" state
EOS			1.9 mA		Idle, Homescreen
EOS			16.1 mA		TIOS while sorting programs
EOS			7.8 mA		Idle, Homescreen after running MirageOS*
EOS			16.0 mA		Graphing
EOS			15.8 mA		Archiving program
EOS			15.8 mA		Garbage Collecting, constant
EOS			30.0 mA		Garbage Collecting, peak
Asm GetKey		1.9 mA		Invariant of CPU speed
Asm Halt Loop		1.5 mA 		Invariant of CPU speed
Asm DNJZ $ Loop		5.5 mA		Invariant of CPU speed
MirageOS Password	7.6 mA		
MirageOS Idle		1.7 mA		
Tetris Marathon		11.7 mA		
The Impossible Game	5.2 mA		Peaks at 5.9 mA ca. once per second
Asm FastCopy loop	6.0 mA		for (HL = 0; ; HL+=768) FastCopy(HL); // Pretty fun to watch
Asm program holding ON	8.7 mA		Running from MirageOS
Asm FastCopy loop	7.2 mA		With MirageOS Interrupt at minimum (ON+GRAPH)
Asm FastCopy loop	6.4 mA		With MirageOS Interrupt at maximum (ON+Y=)
BASIC Graphing Demo	15.8 mA		BASIC runs at 15 MHz
BASIC Menu( command	5.7 mA
BASIC GetKey Loop	11.4 mA
BASIC For(A,1,1000):End	16.0 mA
BASIC seq(X,X,999,1,-1)	15.9 mA
BASIC SortA(above list)	15.3 mA		This "blocks" the ON key
BASIC SortA(above list)	12.4 mA		While rapidly smashing ON
Archive Undeleter	7.4 mA
Robot Finds Kitten	7.3 mA
The Missile Game	12.0 mA		In game
The Missile Game	12.9 mA		High Score display with noise
The Missile Game	16.3 mA		Enter High Score screen
The Missile Game	1.8 mA		Main Menu
Omnicalc Font Editor	7.1 mA		
QWERTY			3.5 mA		It behaved really funny
Galaxian		5.7 mA		
Block Dude		4.0 mA		Wins the "Most Environmentally Friendly Game" award
Axe Parser		15.7 mA		Menu screen
CaDan			4.9 mA		Title screen
CaDan			5.2 mA		Easy mode
CaDan			5.9 mA		Easy mode peak current
CaDan			4.9 mA		Paused
CaDan			6.0 mA		Lunatic mode
CaDan			6.5 mA		Lunatic mode peak current
* I think that some of the hooks MirageOS installs causes this.