separated battery check and added averaging

I moved the battery check to a stand alone function that doesn't depend on there being motion. it builds an average then does a radio send every "reportCount" time. with an 8 seconds sleep 75 counts is around 10 minute repeat times