zaki50/MogMogMonitor — pull request #1 by zunda (2011-10-12 01:30:05+00:00)
Title: Modified to receive ACTION_BATTERY_CHANGED

I am afraid that there are too many changes because of code formatting by Eclipse with Ctrl+Shift+F. Basically, it seems that a Service has to be added to registerReceiver for Intent.ACTION_BATTERY_CHANGED.

The modified code is tested on a Galaxy Tab 10.1 which consumes battery when connected to a USB port.