Understanding the Energy and Precision Requirements for Online Learning