July 12th, 2006

Collie charging

I searched web a bit to find what li-ion thresholds are. I ended up with

/*
{ 420, 100 },
{ 417, 95 }, means it will report 100% between 418 and 420
*/

/* It looks like these values are in deciVolts */
struct battery_thresh collie_battery_levels_acin[] = {
{ 420, 75}, /* 75% full and 100% full li-ion battery can not be told by voltage, but by amps... */
{ 417, 70},
{ 415, 65},
{ 410, 60},
{ 405, 55},
{ 400, 50},
{ 390, 35},
{ 385, 20},
{ 375, 7},
{ 360, 3},
{ 340, 1},
{ 0, 0},
};

/* See for example http://www.kokam.com/english/biz/rc.html for
* voltage/capacity characteristic. I assume it is going to be
* reasonably similar to li-ion used in collie.
*
* Collie with frontlight level 2 will last ~2.5 hours, so we are at
* ~0.5C. */
struct battery_thresh collie_battery_levels[] = {
{ 395, 100},
{ 390, 90},
{ 385, 85},
{ 380, 80},
{ 375, 70},
{ 370, 60},
{ 365, 50}, /* From sharp code: battery high with frontlight: 368 */
{ 362, 40},
{ 360, 30},
{ 358, 20}, /* From sharp code: battery low with frontlight: 358 */
{ 356, 10}, /* From sharp code: battery verylow with frontlight: 356 */
{ 0, 0},
};

If any has any ideas where to get better numbers... please let me know. Also it would be interesting to know how much different parts of collie take; all I know is this pretty old list; not sure about its accuracy.

132mA base system
+103mA for 25% backlight
+155mA for 50% backlight
+270mA for 75% backlight
+450mA for 100% backlight
+284mA for audio + cpu (mp3 playback)

Comments?

Why-chroot-on-spitz

First... I'd like to say big "thank you" to openzaurus team... it is really great piece of software, making zaurus machines usable.

OTOH I like Debian/arm and am comfortable with it; apt-get works nicely, and I know that it is possible to update such distro easily. Also it contains software I use -- like gpsdrive. I do not think openzaurus should try to replace Debian/arm.

Also, by using two-installations setup with chroot, it means I can easily update openzaurus part while keeping my data intact.