Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for power saving of a mobile terminal, comprising: the mobile terminal monitoring changes of data on a Universal Asynchronous Receiver/Transmitter (UART) bus, acquiring current operating states of a Bluetooth chip and a main control chip on the mobile terminal; and when detecting that there is no data on the UART bus, the main control chip controlling a Bluetooth module to enter into a power saving mode; wherein, the method further comprising: generating a corresponding interruption after data activities, transmission or reception of the data on the UART bus is completed, to enter into an interruption process of the UART transmission and reception; and activating a timer in the interruption process, thereby controlling the Bluetooth module to enter into the power saving mode according to the state of the timer.
2. The method according to claim 1 , further comprising: if the timer expires, determining whether an ID of the timer is valid and whether a variable uart_last_acess for identifying whether there are the data activities on the UART bus is 1; and if the ID of the timer is invalid and the uart_last_acess is not 1, controlling the Bluetooth module to enter into the power saving mode.
3. The method according to claim 1 , further comprising: after the Bluetooth module of the mobile terminal enters into the power saving mode, detecting whether the mobile terminal enters into a standby state, and if the mobile terminal enters into the standby state, determining that the data activities on the UART bus is monitored no longer.
4. A mobile terminal, comprising a Bluetooth module, a monitor module and a main control module; wherein, the Bluetooth module is used to communicate with an external Bluetooth device; the monitor module is used to monitor a data state on a Universal Asynchronous Receiver/Transmitter (UART) bus and feed the data state to the main control module; and the main control module is used to communicate with the Bluetooth module and the monitor module and control the Bluetooth module, and when the data state fed by the monitor module is that there is no data on the UART bus, control the Bluetooth module to enter into the power saving mode; wherein, the monitor module is further used to, generate a corresponding interruption after data activities, transmission or reception of the data, on the UART bus is completed, so as to enter into an interruption process of the UART transmission and reception, and activate a timer in the interruption process; and the main control module is further used to control the Bluetooth module to enter into the power saving mode according to the state of the timer.
5. The mobile terminal according to claim 4 , wherein, the monitor module is further used to, if the timer expires, to enter into an interruption process function of expiration of the timer of the monitor module, so as to determine whether an ID of the timer is valid and whether a variable uart_last_acessfor identifying whether there are data activities on the UART bus is 1; and if the ID of the timer is invalid and the uart_last_acess is not 1, notify the main control module to control the Bluetooth module is set to enter into the power saving mode.
6. The mobile terminal according to claim 5 , wherein, after the Bluetooth module of the mobile terminal enters into the power saving mode, the monitor module is used to: detect whether the mobile terminal enters into a standby state, and if the mobile terminal enters into the standby state, determine that the data activities on the UART bus is monitored no longer.
Unknown
February 23, 2016
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.