The backend just needs to call /usr/share/update-notifier/notify-reboot-required to trigger the menu.
The backend just needs to call update- notifier/ notify- reboot- required
/usr/share/
to trigger the menu.