battery logger improvement
added time filter setting. Refactored observeAppDefaults