Added a notification to the user when the battery is low.
Small refactoring following comments from @jonasoreland
Removed hard-coded string and moved hard-coded value to preferences.
merge