haythamshalaby / cyanogenmod-kovsky

Automatically exported from code.google.com/p/cyanogenmod-kovsky
Apache License 2.0
0 stars 0 forks source link

USB connection overheats device after a certain amount of time #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Build Affected: cm-7-20120920-UNOFFICIAL-kovsky
Google Apps: gapps-gb-20110828-signed
Type: System
Priority: Major
Description: Device heats up overtime when connected via USB.
Recreation: Simply plug device into computer via USB.
Notes: Tested on Ubuntu 12.04 LTS x86 with Android SDK r20.0.3 (Platform Tools 
v14) installed. Android Debugging was also enabled on the device.

Original issue reported on code.google.com by BrianXP7 on 24 Sep 2012 at 5:44

GoogleCodeExporter commented 8 years ago
Quote: (From oakes via XDA-Developers)

Hi BrianXP7, I saw in googlecode that you left an issue about the "USB 
connection overheat the device".

You can control that with SetCPU, setting the scheduler on deadline mode with a 
profile for charging mode. I think that this rom when the cell is charging it 
sets the i/o scheduler on noop or cfg mode, and that the reason why it 
overheats the device. 

If you don't want to use SetCPU, we need the next init.d tweak (created by 
Einherjar Development Team) to set the deadline scheduler by default on boot 
(I've attached the tweak to be located in /system/etc/init.d/). 

Anyway, I prefer SetCPU option because I'm no sure whether this tweaks works 
properly with coolrunnerII kernel. In my case, I remove CyanogenMod apps from 
the rom, install Zeam Launcher and I control the CPU with the last SetCPU 
version. With this settings my battery last almost 30 hours in normal 
conditions.

Original comment by BrianXP7 on 6 Oct 2012 at 6:19

GoogleCodeExporter commented 8 years ago
The overheat comes about because the phone enters a state where it cannot 
suspend when the usb cable is plugged in when it leaves suspend.

Original comment by tor...@gmail.com on 10 Oct 2012 at 7:04