Abstract:
A power management method and a power management apparatus for terminal are disclosed. The method includes: obtaining a power consumption parameter of an application (101), where the application is installed in the terminal, the power consumption parameter is used to represent information about an amount of electricity consumed by a power consuming resource invoked by the application when the application is running, the power consuming resource includes a system resource of the terminal and/or a component resource of the terminal, the component resource is another hardware resource other than a processing resource in the terminal, and the system resource includes an operating system resource and/or a platform system resource of the terminal; determining a power consumption status of the application based on the power consumption parameter (102); and generating a power consumption report of the application based on the power consumption status of the application (103).
Abstract:
This application discloses a data traffic management method and apparatus. The method includes: obtaining traffic control information of a first application and a data traffic value used by the first application, where the traffic control information includes at least an upper traffic threshold; and disconnecting a data connection of the first application when the data traffic value used by the first application is greater than or equal to the upper traffic threshold included in the traffic control information of the first application. In the foregoing solution, real-time traffic management on a single application is implemented, so that a user instantly modifies traffic control information according to a requirement, to manage data traffic in real time.
Abstract:
This application discloses a data traffic management method and apparatus. The method includes: obtaining traffic control information of a first application and a data traffic value used by the first application, where the traffic control information includes at least an upper traffic threshold; and disconnecting a data connection of the first application when the data traffic value used by the first application is greater than or equal to the upper traffic threshold included in the traffic control information of the first application. In the foregoing solution, real-time traffic management on a single application is implemented, so that a user instantly modifies traffic control information according to a requirement, to manage data traffic in real time.
Abstract:
A power management method and a power management apparatus for terminal are disclosed. The method includes: obtaining a power consumption parameter of an application (101), where the application is installed in the terminal, the power consumption parameter is used to represent information about an amount of electricity consumed by a power consuming resource invoked by the application when the application is running, the power consuming resource includes a system resource of the terminal and/or a component resource of the terminal, the component resource is another hardware resource other than a processing resource in the terminal, and the system resource includes an operating system resource and/or a platform system resource of the terminal; determining a power consumption status of the application based on the power consumption parameter (102); and generating a power consumption report of the application based on the power consumption status of the application (103).
Abstract:
An AirSharing method, an AirSharing apparatus, and an AirSharing terminal. The AirSharing method of the present invention includes: determining whether an interface to be shared currently is a media interface; if the interface to be shared currently is a media interface, implementing AirSharing with a peer device in a Digital Living Network Alliance manner; and if the interface to be shared currently is not a media interface, implementing AirSharing with the peer device in a minoring manner. In this way, a current playing scenario can be determined, and the Digital Living Network Alliance manner or the mirroring manner is used adaptively to implement AirSharing with the peer device.