Hi,
I've written an UPS minidriver Dll.
When running the Dll on an english version of Windows XP Pro everything
works fine.
According to the DDK documentation the battery status
(HKLM\System\CurrentControlSet\Services\UPS\Status\BatteryStatus)
has 3 documented states (0=unknown, 1=OK, 2=replace).
Looking at the UPS status display (Start\Settings\Power Options\Power
Options Properties\UPS) the display shows "Good" for state 1 and "Needs
replacing" for state 2.
When shutting down the system because of lost AC power a messenger service
dialog box pops up saying "The UPS service is starting shut down at XXX".
So far so good, the DDK documentation is consistent with the user display.
Running the same Minidriver Dll on a german Windows XP shows a slightly
different behaviour.
The UPS status display shows "Niedrig" for state 1.
This means "low" - a big difference to the documentation and the english
version and confusing for the user because he thinks the batteries are low.
The messenger service dialog box says "Der USV Dienst beginnt, wegen
geringer Batteriespannung, bei XXX mit dem Herunterfahren."
This means "The UPS service is starting shut down because of low battery
voltage at XXX".
This is also a big difference to the english version and confusing for the
user because he thinks the batteries are low.
The behaviour is the same with SP1 and SP2 of the german version.
Now my question : is this just a bug in the german translation of XP or
are there any other side effects (internal state etc.) ?