If HAVE_POWEROFF_WHILE_CHARGING is not defined and the charging configuration specifi...