A simple dsl for polling battery info