get_power_saver_enabled


Description:

public bool get_power_saver_enabled ()

Gets whether the system is in “Power Saver” mode.

You are expected to listen to the notifyGPowerProfileMonitor::power-saver-enabled signal to know when the profile has changed.

Parameters:

this

a PowerProfileMonitor

Returns:

Whether the system is in “Power Saver” mode.




2022 vala-language.org