adding whether plugged in or not