Abstract:
A method of an electronic device that includes a power source is disclosed. The method determines a health of the power source, a temperature of the power source, and a state of charge of the power source. The method then sets a performance state cap for the electronic device based on at least the health of the power source.
Abstract:
Computer readable storage mediums, electronic devices, and accessories having stored thereon data structures. A data structure includes a pin selection field operable to identify a connector pin and cause a host device to select one of a plurality of communication protocols for communicating with an accessory over the identified connector pin. The data structure also includes an accessory capability field defining an accessory identifier that uniquely identifies the accessory.
Abstract:
Thermal conditions can be simulated for an electronic device. Application developers may want to test how applications perform under various thermal conditions on a device that includes thermal management. The application developers can use the tests to determine whether the application should take proactive measures to maintain application performance, and which proactive measures should be taken. For example, an application can reduce its use of resources to ensure that an application maintains a desired quality of user experience (and at a minimum remains responsive) under adverse thermal conditions. Creating adverse conditions can be difficult to replicate, costly to implement, and can potential cause damage to the electronic device being tested. In some examples, simulating thermal conditions can be used instead of placing the device in real-world adverse conditions to improve the testing process for developers.
Abstract:
Computer readable storage mediums, electronic devices, and accessories having stored thereon data structures. A data structure includes a pin selection field operable to identify a connector pin and cause a host device to select one of a plurality of communication protocols for communicating with an accessory over the identified connector pin. The data structure also includes an accessory capability field defining an accessory identifier that uniquely identifies the accessory.
Abstract:
An electronic device is disclosed. The electronic device can include a processor to execute instructions; and a memory coupled to the processor and configured to store instructions, which when executed by the processor, cause the processor to perform a method. The method can include determining that one or more parameters of a battery of the electronic device, indicative of a health status of the battery, satisfy one or more conditions. In response to determining that the one or more parameters of the battery satisfy the one or more conditions, one or more characteristics of interactions, via one or more Application Programming Interfaces (APIs), between an application running on the electronic device and an operating system of the electronic device can be adjusted.