Fix suspend.

Hi,

This pull-request fixes suspend by cherry picking the following commit.

  * <https://github.com/mate-desktop/mate-power-manager/commit/3908c55155652719c630537c73911590e1f42cc9>

Regards, Martin.