pipicpowerd.c estimate operation time for optimum battery usage

Calculate operation time left from estimated remaining battery capacity
and MINBATTLEVEL in configuration file. The result is written to file
/var/lib/pipicpowerd/ophours. This estimate has large error and only
experiment can tell how realistic it is in real life.