Merged three services (Battery, Network use and Network info) into one.
Added periodic flushing and sampling.