Get battery status.