PTM services: Difference between revisions

No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 112: Line 112:
|-
|-
| 20 || [18.0.0+]
| 20 || [18.0.0+]
|-
| 21 || [19.0.0-19.0.1]
|-
| 22 || [19.0.0+]
|-
| 23 || [19.0.0+]
|-
| 24 || [20.0.0+]
|}
|}


Line 187: Line 195:
|-
|-
| 4 || [[#SetBatteryVoltageStateChangeEventEnabled|SetBatteryVoltageStateChangeEventEnabled]]
| 4 || [[#SetBatteryVoltageStateChangeEventEnabled|SetBatteryVoltageStateChangeEventEnabled]]
|-
| 5 || [20.0.0+]
|}
|}


Line 400: Line 410:
|-
|-
| 10 || [11.0.0+] LoadAndApplySettings
| 10 || [11.0.0+] LoadAndApplySettings
|-
| 11 || [20.0.0+]
|-
| 12 || [20.0.0+]
|-
| 13 || [20.0.0+]
|}
|}


Line 587: Line 603:
= fgm, fgm:0, fgm:1, fgm:2, fgm:3, fgm:4, fgm:5, fgm:6, fgm:7, fgm:9 =
= fgm, fgm:0, fgm:1, fgm:2, fgm:3, fgm:4, fgm:5, fgm:6, fgm:7, fgm:9 =
These are "nn::fgm::sf::ISession".
These are "nn::fgm::sf::ISession".
[19.0.0+] These are "nn::fgm::ISession".


Each service represents a different priority from 0 (Highest/Thermal) to 9 (Lowest). The "fgm" service represents priority 8 (Default).
Each service represents a different priority from 0 (Highest/Thermal) to 9 (Lowest). The "fgm" service represents priority 8 (Default).
Line 604: Line 622:
== IRequest ==
== IRequest ==
This is "nn::fgm::sf::IRequest".
This is "nn::fgm::sf::IRequest".
[19.0.0+] This is "nn::fgm::IRequest".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 822: Line 842:
| 0x28 || 0x4 || BatteryAgePercentage (battery age capacity full/capacity design per cent-mille, i.e. 100% = 100000 pcm)
| 0x28 || 0x4 || BatteryAgePercentage (battery age capacity full/capacity design per cent-mille, i.e. 100% = 100000 pcm)
|-
|-
| 0x2C || 0x4 || [[#UsbPowerRole|UsbPowerRole]]
| 0x2C || 0x4 || [[USB_services#UsbPowerRole|UsbPowerRole]]
|-
|-
| 0x30 || 0x4 || [[#UsbChargerType|UsbChargerType]]
| 0x30 || 0x4 || [[USB_services#UsbChargerType|UsbChargerType]]
|-
|-
| 0x34 || 0x4 || ChargerInputVoltageLimit (charger voltage limit in mV)
| 0x34 || 0x4 || ChargerInputVoltageLimit (charger voltage limit in mV)
Line 871: Line 891:
|-
|-
| 1 || Enable
| 1 || Enable
|}
== UsbPowerRole ==
{| class="wikitable" border="1"
|-
! Value || Name
|-
| 0 || Unknown
|-
| 1 || Sink
|-
| 2 || Source
|}
== UsbChargerType ==
{| class="wikitable" border="1"
|-
! Value || Name
|-
| 0 || Unknown
|-
| 1 || Pd
|-
| 2 || TypeC15
|-
| 3 || TypeC30
|-
| 4 || Dcp
|-
| 5 || Cdp
|-
| 6 || Sdp
|-
| 7 || Apple500
|-
| 8 || Apple1000
|-
| 9 || Apple2000
|}
|}