Geekzilla's NiMHSet program
NOTE: If you can't find the prc file, read the
readme.txt included in the zip file more carefully.
This is the first version of two different programs. NiMHSet might change a
little, but it's fulfilling it's full function, and will always be
distributed just about as is.
Its only function is to set the battery type to NiCad (I use NiMH batteries,
and PalmOS versions prior to 3.3 consider NiCad and NiMH to be the same, and
I don't have a set of 3.3 headers, so it's called NiMHSet anyway), set the
warn voltage threshold to 2.26, and the critical voltage threshold to 1.60
after every hard or soft reset.
On later OS, you can't pick the voltage anyway, so the lack of
configurability isn't a major issue.
Note that if you don't use FlashPro or
something similar, it won't be around after a hard reset.
The reason for writing this was that while BatteryInfo is a better
program, it doesn't set the battery type except when you start the program,
so if you do a soft reset, your voltage thresholds revert to alkaline levels. Note
that you won't notice this just using BatteryInfo, because it set the
voltage thresholds prior to displaying them. Play around with another
battery tool, such as ATool if you wish to confirm this on your own.
Status
NiMHSet functions by using SysBatteryInfo, and Palm discourages using
SysBatteryInfo to change settings. NiMHSet has been tested on PalmOS 2.0
and 3.3. According to the programming documentation I have, SysBatteryInfo
wasn't changed between 1.0 and 2.0, so it shouldn't crash on PalmOS 1.0, but
hasn't been tested there. If it should crash, you'll need to press the up
button while resetting your Palm to reset it without running NiMHSet.
Download
NiMHSet is available with source here. It
includes a Makefile that assumes that the prc-tools are in the path. The
readme.txt file will tell you what to rename and install.
To Do
- This could be a lot smaller. I know, 2K isn't much, and I'm probably not
going to sweat it, but it really could be.
- On the other hand, this program will probably also evolve into BatBelt at
some point in the future. BatBelt will have the ability to set the battery
type, voltage thresholds, automatic detection of battery replacements
including days since last replacement, time on since last replacement, info
on time of last hard and soft reset, and maybe a voltage graph and other
features. There is no timetable as to when this will happen.