<!DOCTYPE module SYSTEM "module.dtd">

<module name="bat_checker">
  <doc>
    <description>Battery checker module</description>
    <define name="BAT_CHECKER_DELAY" value="delay" description="number of seconds the battery voltage has to below LOW_BAT_LEVEL before warning signal is activated"/>
    <define name="BAT_CHECKER_LED" value="X" description="led number to use for the warning signal"/>
  </doc>
  <header>
    <file name="bat_checker.h"/>
  </header>
  <init fun="init_bat_checker()"/>
  <periodic fun="bat_checker_periodic()" freq="2" autorun="TRUE"/>
  <makefile target="ap">
    <file name="bat_checker.c"/>
  </makefile>
</module>

