Search International and National Patent Collections

1. (WO2017185685) POWER DELIVERY COMMAND PROCESSING METHOD AND APPARATUS, AND ELECTRONIC DEVICE

Pub. No.:    WO/2017/185685    International Application No.:    PCT/CN2016/102966
Publication Date: Fri Nov 03 00:59:59 CET 2017 International Filing Date: Sat Oct 22 01:59:59 CEST 2016
IPC: G06F 9/46
H01M 10/44
Applicants: LE HOLDINGS (BEIJING) CO., LTD.
乐视控股(北京)有限公司
LEMOBILE INFORMATION TECHNOLOGY (BEIJING) CO., LTD.
乐视移动智能信息技术(北京)有限公司
Inventors: LEI, Jun
雷军
Title: POWER DELIVERY COMMAND PROCESSING METHOD AND APPARATUS, AND ELECTRONIC DEVICE
Abstract:
Disclosed are a power delivery (PD) command processing method and apparatus, and an electronic device. The method comprises: identifying whether a charger inserted into a universal serial bus (USB) interface is a PD charger which supports PD, and creating a special thread used for processing PD commands if the charger inserted into the USB interface is the PD charger which supports PD; according to a processing notification which is triggered when a received PD command is written into a kernel linked list, continuously reading PD commands from the linked list to the special thread for processing until there is no PD command in the linked list; and when there is no PD command in the linked list, turning to a state of waiting to receive a processing notification.