ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SysStandby (Function)
In french: SysMiseEnVeille
Allows you to:
  • AndroidiPhone/iPad enable and disable the standby mode.
    AndroidiPhone/iPad Remark: The configuration of the standby mode is specific to the application:
    • when the application is ended, the initial setting is restored.
    • when the application is moved to the background, the initial settings are restored. When the application returns to the foreground, the standby settings are restored.
  • Universal Windows 10 App display the system screen used to configure the standby mode.
Example
AndroidiPhone/iPad
// Enables the standby mode
SysStandby(sysBattery, sysStandbyActive)
Syntax
AndroidiPhone/iPad

Enabling/Disabling the standby mode Hide the details

SysStandby(<Power mode> , <Standby>)
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be modified:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
iPhone/iPad This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
<Standby>: Integer constant
Enable or disable the standby mode:
sysStandbyActiveEnable the standby mode. The amount of idle time before switching to standby mode depends on the system settings.
sysStandbyInactiveDisable the standby mode when the application moves to the foreground.
iPhone/iPad

Finding out the standby mode Hide the details

<Result> = SysStandby(<Power mode>)
<Result>: Boolean
  • True if the standby mode is enabled,
  • False otherwise.
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be known:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
Universal Windows 10 App

Displaying the system screen used to configure the standby mode Hide the details

<Result> = SysStandby()
<Result>: Boolean
  • True if the screen for configuring the standby mode is displayed,
  • False otherwise.
Component: wd290std.dll
See also
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help