[Confluence] Use 'shutdown function' setting in 'custom shutdown timer'. fixes #12848

Currently the custom shutdown timer function is hardcoded in Confluence to power down the system.

This PR changes that behaviour to use whatever is defined in Power saving > Shutdown function.


Fixes trac #12848