(Reserved, not supported yet) Indicates that the friendly name of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval.
(Reserved, not supported yet) Indicates that the battery level of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval.
This document lists the common system events provided by the account subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_USER_ADDED
Indicates that a user has been added to the system.
When a system account is created, the event notification service is triggered to publish this event carrying the system account ID.
APIs related to this event: **createOsAccount** and **createOsAccountForDomain**. These APIs are system APIs. For details, see [@ohos.account.osAccount (OS Account Management)](../js-apis-osAccount.md).
## COMMON_EVENT_USER_REMOVED
Indicates that a user has been removed from the system.
When a system account is removed, the event notification service is triggered to publish this event carrying the system account ID.
APIs related to this event: **removeOsAccount**. This API is a system API. For details, see [@ohos.account.osAccount (OS Account Management)](../js-apis-osAccount.md).
When a domain user account is authenticated, deleted, or has the token updated, the event notification service is triggered to publish this event carrying the system account ID, domain name, and account status.
APIs related to this event: **removeOsAccount**, **DomainAccountManager.auth**, and **updateAccountToken**. These APIs are system APIs. For details, see [@ohos.account.osAccount (OS Account Management)](../js-apis-osAccount.md).
When the system account is switched, the event notification service is triggered to publish this event carrying the system account ID.
APIs related to this event: **activateOsAccount**. This API is a system API. For details, see [@ohos.account.osAccount (OS Account Management)](../js-apis-osAccount.md).
## COMMON_EVENT_USER_INFO_UPDATED<sup>9+<sup>
Indicates that the user information has been updated.
- Value: **usual.event.USER_INFO_UPDATED**
- Required subscriber permissions: none
When the distributed account information, system account profile picture, or system account name is changed, the event notification service is triggered to publish this event carrying the system account ID.
APIs related to this event: **setOsAccountName**, **setOsAccountProfilePhoto**, and **setOsAccountDistributedInfon**. The first two are system APIs, and the last is a public API. For details, see [@ohos.account.osAccount (OS Account Management)](../js-apis-osAccount.md).
## COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN
(Reserved, not supported yet) Indicates a successful login to a distributed account.
- Value: usual.event.DISTRIBUTED_ACCOUNT_LOGIN
- Required subscriber permissions: none
## COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT
(Reserved, not supported yet) Indicates a successful logout of a distributed account.
- Value: usual.event.DISTRIBUTED_ACCOUNT_LOGOUT
- Required subscriber permissions: none
## COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID
(Reserved, not supported yet) Indicates the token of a distributed account is invalid.
This document lists the common system events provided by the file management subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_VOLUME_REMOVED<sup>9+<sup>
Indicates that an external storage device was removed.
When an external storage device is successfully unmounted by calling [unmount](../js-apis-file-volumemanager.md) or by removing the device, the event notification service is triggered to publish this event.
## COMMON_EVENT_VOLUME_MOUNTED<sup>9+<sup>
Indicates that an external storage device was mounted.
When an external storage device is mounted by calling [mount](../js-apis-file-volumemanager.md) or by inserting the device, the event notification service is triggered to publish this event.
## COMMON_EVENT_VOLUME_BAD_REMOVAL<sup>9+<sup>
Indicates that an external storage device was removed without being unmounted.
When the user calls [unmount](../js-apis-file-volumemanager.md) on a mounted external storage device or removes the device, the event notification service is triggered to publish this event.
This document lists the common system events provided by the SMS application to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_SMS_RECEIVE_COMPLETED
Indicates that a new SMS message has been received.
- Value: usual.event.SMS_RECEIVE_COMPLETED
- Required subscriber permissions: none
When the device receives a new SMS message, the event notification service is triggered to publish this event.
# Common Events of the Network Management Subsystem
This document lists the common system events provided by the network management subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_CONNECTIVITY_CHANGE<sup>10+<sup>
Indicates that the network connection state has changed.
- Value: usual.event.CONNECTIVITY_CHANGE
- Required subscriber permissions: none
When the (Ethernet, Wi-Fi, or cellular) network connection state changes (to disconnected, connecting, or connected), the event notification service is triggered to publish this event.
Indicates that the airplane mode state has changed.
- Value: usual.event.AIRPLANE_MODE
- Required subscriber permissions: none
When the airplane mode is set, the event notification service is triggered to publish this event.
## COMMON_EVENT_HTTP_PROXY_CHANGE<sup>10+<sup>
Indicates that the HTTP proxy configuration has changed.
- Value: usual.event.HTTP_PROXY_CHANGE
- Required subscriber permissions: none
When the configuration of the global or network-specific (such as Ethernet and Wi-Fi) HTTP proxy changes, the event notification service is triggered to publish this event.
## COMMON_EVENT_NET_QUOTA_WARNING<sup>10+<sup>
Indicates that the network data usage has reached the alarm threshold.
- Value: usual.event.QUOTA_WARNING
- Required subscriber permissions: none
When the network data usage reaches 80% of the limit, the event notification service is triggered to publish this event.
Indicates that the network data usage has reached the upper limit, and network access is still available.
- Value: usual.event.NET_QUOTA_LIMIT_REMINDED
- Required subscriber permissions: none
When the network data usage reaches the upper limit and the user chooses to continue to use the network, the event notification service is triggered to publish this event.
## COMMON_EVENT_NET_QUOTA_LIMIT<sup>10+<sup>
Indicates that the network data usage has reached the upper limit, and network access becomes unavailable.
- Value: usual.event.NET_QUOTA_LIMIT
- Required subscriber permissions: none
When the network data usage reaches the upper limit and continuing to use the network is not allowed, the event notification service is triggered to publish this event.
This document lists the common system events provided by the NFC subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED
Indicates that the state of the device NFC adapter has changed.
This document lists the common system events provided by the power management subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_BATTERY_CHANGED
Indicates that the charging state, level, and other information about the battery have changed.
- Value: usual.event.BATTERY_CHANGED
- Required subscriber permissions: none
When any of the following information changes, the event notification service is triggered to publish this event: battery level, battery voltage, battery temperature, battery health status, type of the charger connected to the device, maximum current of the charger, maximum voltage of the charger, battery charging status, number of charging times, total battery capacity, remaining battery capacity, battery model, current of the battery, and battery charging type.
## COMMON_EVENT_BATTERY_LOW
Indicates that the battery level is low.
- Value: usual.event.BATTERY_LOW
- Required subscriber permissions: none
When the battery level drops to lower than the low battery level set for the device, the event notification service is triggered to publish this event. For details about how to set the low battery level, see [Battery Level Customization](../../../../device-dev/subsystems/subsys-power-battery-level-customization.md).
## COMMON_EVENT_BATTERY_OKAY
Indicates that the battery level is normal.
- Value: usual.event.BATTERY_OKAY
- Required subscriber permissions: none
When the battery level changes from the low level to normal level, the event notification service is triggered to publish this event.
## COMMON_EVENT_POWER_CONNECTED
Indicates that the device is connected to an external power supply.
- Value: usual.event.POWER_CONNECTED
- Required subscriber permissions: none
When the device connects to an external charger, the event notification service is triggered to publish this event.
## COMMON_EVENT_POWER_DISCONNECTED
Indicates that the device is disconnected from the external power supply.
- Value: usual.event.POWER_DISCONNECTED
- Required subscriber permissions: none
When the device is disconnected from the external power supply, the event notification service is triggered to publish this event.
## COMMON_EVENT_DISCHARGING
Indicates that the system stops charging the battery.
- Value: usual.event.DISCHARGING
- Required subscriber permissions: none
When the system stops charging the battery, the event notification service is triggered to publish this event.
## COMMON_EVENT_CHARGING
Indicates that the system starts charging the battery.
- Value: usual.event.CHARGING
- Required subscriber permissions: none
When the system starts charging the battery, the event notification service is triggered to publish this event.
## COMMON_EVENT_CHARGE_TYPE_CHANGED
Indicates that the system charging type has changed. This event is available only for system applications.
- Value: usual.event.CHARGE_TYPE_CHANGED
- Required subscriber permissions: none
When the system charging type changes, the event notification service is triggered to publish this event.
## COMMON_EVENT_SHUTDOWN
Indicates that the device is being and will be shut down.
- Value: usual.event.SHUTDOWN
- Required subscriber permissions: none
When the device is being shut down until it is powered off, the event notification service is triggered to publish this event.
## COMMON_EVENT_SCREEN_OFF
Indicates that the device screen is off and the device is in sleep mode.
- Value: usual.event.SCREEN_OFF
- Required subscriber permissions: none
When the device screen is turned off and the device is in sleep mode, the event notification service is triggered to publish this event.
## COMMON_EVENT_SCREEN_ON
Indicates that the device screen is on and the device is in the active state.
- Value: usual.event.SCREEN_ON
- Required subscriber permissions: none
When the device screen is turned on and in the active state, the event notification service is triggered to publish this event.
## COMMON_EVENT_POWER_SAVE_MODE_CHANGED
Indicates that the system power saving mode has changed.
- Value: usual.event.POWER_SAVE_MODE_CHANGED
- Required subscriber permissions: none
When the system power saving mode changes, the event notification service is triggered to publish this event.
## COMMON_EVENT_THERMAL_LEVEL_CHANGED
Indicates that the device's thermal level has changed.
- Value: usual.event.THERMAL_LEVEL_CHANGED
- Required subscriber permissions: none
When the device's thermal level changes, the event notification service is triggered to publish this event. For details about how to configure the thermal level, see [Thermal Level Customization](../../../../device-dev/subsystems/subsys-thermal_level.md).
# Common Events of the Theme Framework - Lock Screen
This document lists the common system events provided by the theme framework - lock screen to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_SCREEN_LOCKED
Indicates that the screen has been locked.
- Value: usual.event.SCREEN_LOCKED
- Required subscriber permissions: none
When the screen is locked, the event notification service is triggered to publish this event.
## COMMON_EVENT_SCREEN_UNLOCKED
Indicates that the screen has been unlocked.
- Value: usual.event.SCREEN_UNLOCKED
- Required subscriber permissions: none
When the screen is unlocked, the event notification service is triggered to publish this event.
# Common Events of the Time and Time Zone Subsystem
This document lists the common system events provided by the time and time zone subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_TIME_CHANGED
Indicates that the system time has been set.
- Value: usual.event.TIME_CHANGED
- Required subscriber permissions: none
When the system time is set, the event notification service is triggered to publish this event.
## COMMON_EVENT_TIME_TICK
Indicates that the system time has changed.
- Value: usual.event.TIME_TICK
- Required subscriber permissions: none
When the system time changes, the event notification service is triggered to publish this event.
## COMMON_EVENT_TIMEZONE_CHANGED
Indicates that the system time zone has changed.
- Value: usual.event.TIMEZONE_CHANGED
- Required subscriber permissions: none
When the system time zone changes, the event notification service is triggered to publish this event.
This document lists the common system events provided by the Wi-Fi subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
## COMMON_EVENT_WIFI_POWER_STATE
Indicates that the Wi-Fi state has changed, for example, enabled or disabled.
- Value: usual.event.wifi.POWER_STATE
- Required subscriber permissions: none
When the Wi-Fi state changes, the event notification service is triggered to publish this event.
## COMMON_EVENT_WIFI_SCAN_FINISHED
Indicates that the Wi-Fi access point has been detected and proven to be available.
# Common Events of the Window Management Subsystem
This document lists the common system events provided by the window management subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
### COMMON_EVENT_SPLIT_SCREEN<sup>10+</sup>
Indicates a screen splitting action.
- Value: usual.event.SPLIT_SCREEN
- Required subscriber permissions: none
When any of the following actions is performed, the event notification service is triggered to publish this event: accessing the recent tasks screen, creating a split-screen bar, and destroying a split-screen bar.