Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0a933c8c2 | ||
|
|
94936dbd94 | ||
|
|
3f26613c07 | ||
|
|
cd925e9500 | ||
|
|
9a8dfdf7db | ||
|
|
76210af2f2 |
12
debian/changelog
vendored
12
debian/changelog
vendored
@@ -1,3 +1,15 @@
|
|||||||
|
mce-dev (1.32.0) unstable; urgency=low
|
||||||
|
|
||||||
|
* [mce] Add charging suspendable dbus constant. JB#59152
|
||||||
|
|
||||||
|
-- Simo Piiroinen <simo.piiroinen@jolla.com> Tue, 22 Nov 2022 14:22:52 +0200
|
||||||
|
|
||||||
|
mce-dev (1.31.0) unstable; urgency=low
|
||||||
|
|
||||||
|
* [mce] Add forced charging D-Bus constants. JB#58372
|
||||||
|
|
||||||
|
-- Simo Piiroinen <simo.piiroinen@jolla.com> Tue, 18 Oct 2022 10:47:06 +0300
|
||||||
|
|
||||||
mce-dev (1.30.0) unstable; urgency=low
|
mce-dev (1.30.0) unstable; urgency=low
|
||||||
|
|
||||||
* [mce] Add charging hysteresis state D-Bus constants. JB#40062
|
* [mce] Add charging hysteresis state D-Bus constants. JB#40062
|
||||||
|
|||||||
@@ -943,8 +943,59 @@
|
|||||||
*/
|
*/
|
||||||
# define MCE_CHARGING_STATE_SIG "charging_state_ind"
|
# define MCE_CHARGING_STATE_SIG "charging_state_ind"
|
||||||
|
|
||||||
|
/** Query charge-once-to-full policy override state
|
||||||
|
*
|
||||||
|
* @since mce 1.112.0
|
||||||
|
*
|
||||||
|
* @return string: charge-once-to-full policy override state, one of:
|
||||||
|
* - #MCE_FORCED_CHARGING_UNKNOWN
|
||||||
|
* - #MCE_FORCED_CHARGING_ENABLED
|
||||||
|
* - #MCE_FORCED_CHARGING_DISABLED
|
||||||
|
*/
|
||||||
|
# define MCE_FORCED_CHARGING_GET "get_forced_charging"
|
||||||
|
|
||||||
|
/** Request charge-once-to-full policy override state change
|
||||||
|
*
|
||||||
|
* @since mce 1.112.0
|
||||||
|
*
|
||||||
|
* @note Override is automatically disabled if / when
|
||||||
|
* battery is full or charger is disconnected.
|
||||||
|
*
|
||||||
|
* @param value string: override state, one of:
|
||||||
|
* - #MCE_FORCED_CHARGING_ENABLED
|
||||||
|
* - #MCE_FORCED_CHARGING_DISABLED
|
||||||
|
*/
|
||||||
|
# define MCE_FORCED_CHARGING_REQ "req_forced_charging"
|
||||||
|
|
||||||
|
/** Signal that indicates that charge-once-to-full policy override state has changed
|
||||||
|
*
|
||||||
|
* Charge-once-to-full policy override decision.
|
||||||
|
*
|
||||||
|
* @since mce 1.112.0
|
||||||
|
*
|
||||||
|
* @param string: charge-once-to-full policy state, one of:
|
||||||
|
* - #MCE_FORCED_CHARGING_UNKNOWN
|
||||||
|
* - #MCE_FORCED_CHARGING_ENABLED
|
||||||
|
* - #MCE_FORCED_CHARGING_DISABLED
|
||||||
|
*/
|
||||||
|
# define MCE_FORCED_CHARGING_SIG "forced_charging_ind"
|
||||||
|
|
||||||
|
/** Query whether charging can be suspended on this device
|
||||||
|
*
|
||||||
|
* @since mce 1.113.0
|
||||||
|
*
|
||||||
|
* @note As this is a matter of static configuration, the value
|
||||||
|
* returned does not change during mce runtime and thus
|
||||||
|
* there is related change signal.
|
||||||
|
*
|
||||||
|
* @return boolean: true if mce can be enable/disable charging, or
|
||||||
|
* false if not
|
||||||
|
*/
|
||||||
|
# define MCE_CHARGING_SUSPENDABLE_GET "get_charging_suspendable"
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
/** @name LED Control
|
/** @name LED Control
|
||||||
|
|||||||
@@ -508,6 +508,32 @@
|
|||||||
# define MCE_CHARGING_STATE_DISABLED "disabled"
|
# define MCE_CHARGING_STATE_DISABLED "disabled"
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
/** @name Charge-once-to-full policy override constants
|
||||||
|
*
|
||||||
|
*@{
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** Charge-once-to-full policy override state is not known
|
||||||
|
*
|
||||||
|
* @since mce 1.112.0
|
||||||
|
*/
|
||||||
|
# define MCE_FORCED_CHARGING_UNKNOWN "unknown"
|
||||||
|
|
||||||
|
/** Charge-once-to-full policy override has been activated
|
||||||
|
*
|
||||||
|
* @since mce 1.112.0
|
||||||
|
*/
|
||||||
|
# define MCE_FORCED_CHARGING_ENABLED "enabled"
|
||||||
|
|
||||||
|
/** Charge-once-to-full policy override has been deactivated
|
||||||
|
*
|
||||||
|
* @since mce 1.112.0
|
||||||
|
*/
|
||||||
|
# define MCE_FORCED_CHARGING_DISABLED "disabled"
|
||||||
|
/*@}*/
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
/** @name Battery Status Constants
|
/** @name Battery Status Constants
|
||||||
|
|||||||
2
mce.pc
2
mce.pc
@@ -3,7 +3,7 @@ includedir=${prefix}/include
|
|||||||
|
|
||||||
Name: mce
|
Name: mce
|
||||||
Description: Mode Control Entity
|
Description: Mode Control Entity
|
||||||
Version: 1.30.0
|
Version: 1.32.0
|
||||||
Requires:
|
Requires:
|
||||||
Libs:
|
Libs:
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Name: mce-headers
|
Name: mce-headers
|
||||||
Summary: Development files for mce
|
Summary: Development files for mce
|
||||||
Version: 1.30.0
|
Version: 1.32.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
|
|||||||
Reference in New Issue
Block a user