Some methods and signals belonging to mce D-Bus interface are
not declared in mce-dev package. And what is declared is not
grouped in a manner that would make the context of constants
clear.
Add missing method/signal/argument constants.
Group constants by context.
Add references from methods/signals to relevant argument
constants.
Do not refer to glib types when explaining a D-Bus interfaces.
Where needed update the explanatory comments.
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
Add names of D-Bus method calls and signals related to querying and
tracking of battery/charging related information.
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
New method calls:
* get_display_blanking_pause
* get_display_blanking_inhibit
New signals:
* display_blanking_pause_ind
* display_blanking_inhibit_ind
[mce] Add D-Bus constants for exposing blanking pause and inhibit states. Contributes to JB#28929
Allows resetting mce settings back to defaults without needing to
know what the defaults are and/or stopping mce service.
[mce] Add dbus method for requesting settings reset. Contributes to JB#24286
Allows ui components to have an option to blank via low power mode
instead of just powering off the display.
[mce] Add dbus method for requesting display low power mode. Contributes to JB#20906
The support for the tracking id parameter was added to mce 1.23.7,
but the documentation was not updated accordingly.
[mce-headers] Document tracking id parameter for cpu keepalive method calls
The value returned is dbus_int32_t, not dbus_uint32_t. Documentation
changed to match implementation.
[mce-headers] Fix MCE_CPU_KEEPALIVE_PERIOD_REQ method call documentation
Applications can block suspend via:
MCE_CPU_KEEPALIVE_PERIOD_REQ
MCE_CPU_KEEPALIVE_START_REQ x N
MCE_CPU_KEEPALIVE_STOP_REQ
And dsme can signal wakeup from suspend via:
MCE_CPU_KEEPALIVE_WAKEUP_REQ