Battery discharge notification

Fix an item of #48.