Abstract:
This application provides a service process invoking method and a related apparatus. The method includes: An application process obtains a context of a binder process; the application process obtains a handle of a service process based on the context of the binder process; the application process runs a program of the binder process based on the context of the binder process, to obtain a context of the service process based on the handle of the service process; and the application process runs a program of the service process based on the context of the service process, to respond to a binder request of the application process, where the binder request is used to request a system service provided by the service process. In embodiments of this application, actual power consumption is accurately reflected.
Abstract:
Embodiments of the present invention disclose a method and apparatus for reducing power consumption, and a mobile terminal, which are used to reduce power consumption of the mobile terminal, and improve user experience. The method in the embodiments of the present invention includes: when a system enters a preset working mode, detecting a first-type application and a second-type application that are installed in the system; changing a type of an alarm of the first-type application, and suspending an alarm of the second-type application, so that the alarm of the first-type application cannot wake up the system in the preset working mode, and that the alarm of the second-type application cannot wake up the system in the preset working mode and/or is not woken up by the system when the system is in an awake state.
Abstract:
The present invention discloses a method for managing a multi-core processor. The method includes: if a current working mode of the multi-core processor is an asymmetric multiprocessing ASMP mode, a working frequency of at least one other processor than one processor that requests data is less than a first frequency, and a difference between a cache hit ratio value corresponding to the one processor and a cache hit ratio value corresponding to the at least one other processor is greater than or equal to a first threshold, switching the working mode of the multi-core processor to a symmetric multiprocessing SMP mode.
Abstract:
Embodiments of the present disclosure resolve problem of power consumption caused because an AP is frequently woken up. This solution includes: receiving, by a modem, pre-processing information, which is sent by an application processor AP, of an application, where the pre-processing information includes at least a period range value and first data that are of the application, the period range value is used to represent frequency at which the application needs the AP to send and receive the first data, and the first data is data that the application needs the AP to send to a server; invoking, by the modem, preset functions according to the period range value and a time at which the modem receives the pre-processing information, to determine a sending time of the first data; and sending, by the modem, the first data to the server according to the sending time.