Battery Status notifier
Use analogRead to measure the voltage on the battery. You might have to use the internal 1.1V reference to get a good reading. 

Don't write any blocking code and the processes won't interfere with each other. That means no long for or while loops waiting for something to complete and absolutely no delay.