datakeeper: should be able to define battery thresholds

Same as we do with alarms' thresholds, but with the battery itself. We still need to know the battery we will use.