Breadcrumbs

ControlPanel: Reading the RTC/FRAM Battery State


The state of the rtc/fram battery can be found in the linux file "/proc/driver/rtc" on the device.

The following linux command, shows the battery state:

Bash
cat /proc/driver/rtc | grep batt_status
batt_status     : okay


If the battery has a malfunction or is low, the output looks like this.

Bash
cat /proc/driver/rtc | grep batt_status
batt_status     : dead


Remarks:

  • Only while booting the system the state of the battery will be read and saved in the batt_status information of "/proc/driver/rtc".

  • During the operation of the device, the value of "batt_status" remains the same.During the operation of the device, is the battery power consumption insignificant.