The charging screen is displayed by systemui or ASUI in runlevel 5. Normal desktop mode is runlevel 2. There are symlinks in /etc/rc5.d/ that point to scripts and programs to run when entering and leaving the charging runlevel. You should have links in there to osso-systemui(-early)? or advanced-systemui(-early)? (if you use ASUI). Now you know!