In understanding the fix clock problem, it is helpful to understand the power dynamic between the system, the clock battery, and the clock.
The XO must maintain power to the clock at all times, even when the system is powered off. When power is lost, the time and date will be forgotten, resulting in the problems described on this page. This is especially important to consider for XOs in storage, or XOs that will not be used for an extended period of time.
The clock battery acts only as a backup: when available, the main power source (AC power or the main system battery) is used to keep the clock ticking. When there is no other power available, the clock battery takes over.
The clock battery is somewhat rechargeable. On the XO-1, it will recharge from the main power source while the laptop is powered on and fully awake (not suspended). The XO-1.5 and XO-1.75 will charge the clock battery when the laptop is powered on and fully awake, and also when it is suspended. When recharging an empty battery, it is expected that the battery will reach normal voltage levels after around 30 minutes of charging, but will require potentially 24 hours for a complete recharge. However, the battery is only marginally rechargeable - it may stop working completely after 30 deep discharges.
A voltmeter can be used to perform some basic checks on the health of the battery. After 30 minutes of charging from empty, a reading of around 2.7v would be reasonable. After 24 hours of charging, when the battery should be fully charged, a reading of around 3.1v would be expected. However, these checks are inconclusive, 'bad' batteries may produce such readings. A real test would need to measure battery capacity, which is non-trivial.
When no other power is available, the clock battery is only able to power the clock for a limited time before running out of power. Assuming the clock battery is fully charged, the following table indicates the expected lifetime of the coil cell battery before it is unable to keep the clock powered.
|Laptop model||Clock battery life|
|XO-1.75||12 months (expected, needs testing)|
When placing XOs in storage or some other situation where they will not be used for a significant period of time, it may be worth considering inserting the main laptop battery and ensuring it has a high amount of charge, so that the clock remains powered for an extended amount of time before the backup takes over. According to tests done in Uruguay, the following table provides an indication of how long the main battery can keep the clock powered before running out of charge, in the case where the battery initially had 80% charge:
|Laptop model||Main battery longevity|
Note that the above numbers should be used as indications only; the real numbers will vary based on environmental conditions such as the temperature of the storage area, the exact model of the laptop and the RAM included, firmware version, etc.
Unpowered Storage - XO-1
If the deployment security policy can permit the clock to be unpowered during storage, then disassemble, remove, and then replace the clock battery. Reassemble and store the laptop. This loses the date and time, but does not start the clock until the laptop is next turned on. The storage time is increased.
Unpowered Storage - XO-4
If the deployment security policy can permit the clock to be unpowered during storage, then get to the Ok prompt and type this:
ok select /rtc 80 0 rtc! power-off
The laptop will turn off. Store the laptop. According to the IDT1338 datasheet, the storage time should increase by 100 times. The clock will be cleared and restarted when the laptop is next turned on. The clock should be set as part of redeployment.