Re: Motorola Droid 4 progress, power consumption

2018-05-05 Thread Tony Lindgren
* Pavel Machek [180504 21:49]: > > > Battery is not user-replacable (and this will recalibrate itself on > > > charge/discharge cycle) so.. I don't think keying is strictly > > > neccessary for D4. > > > > Yeah right, that can be added later on if needed if you just > > plan

Re: Motorola Droid 4 progress, power consumption

2018-05-05 Thread Tony Lindgren
* Pavel Machek [180504 21:49]: > > > Battery is not user-replacable (and this will recalibrate itself on > > > charge/discharge cycle) so.. I don't think keying is strictly > > > neccessary for D4. > > > > Yeah right, that can be added later on if needed if you just > > plan accordingly. It's

Re: Motorola Droid 4 progress, power consumption

2018-05-04 Thread Pavel Machek
Hi! > > But I guess I can sample charge_counter every minute or so and get > > what I need? > > Not sure what the max time range is for the PMIC, but yeah I'd > assume once a minute is duoable. Maybe compare it to the chart > you already have? Yes, I can try some more graph painting. OTOH...

Re: Motorola Droid 4 progress, power consumption

2018-05-04 Thread Pavel Machek
Hi! > > But I guess I can sample charge_counter every minute or so and get > > what I need? > > Not sure what the max time range is for the PMIC, but yeah I'd > assume once a minute is duoable. Maybe compare it to the chart > you already have? Yes, I can try some more graph painting. OTOH...

Re: Motorola Droid 4 progress, power consumption

2018-05-04 Thread Tony Lindgren
* Pavel Machek [180504 20:22]: > Hi! > > > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > > current_avg > > > Thu May 3 09:33:07 CEST 2018 > > > -56000 > > > -72308 > > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > > current_avg

Re: Motorola Droid 4 progress, power consumption

2018-05-04 Thread Tony Lindgren
* Pavel Machek [180504 20:22]: > Hi! > > > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > > current_avg > > > Thu May 3 09:33:07 CEST 2018 > > > -56000 > > > -72308 > > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > > current_avg > > > Thu May

Re: Motorola Droid 4 progress, power consumption

2018-05-04 Thread Pavel Machek
Hi! > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > current_avg > > Thu May 3 09:33:07 CEST 2018 > > -56000 > > -72308 > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > current_avg > > Thu May 3 09:33:08 CEST 2018 > > -37000 > > -211362 > > I

Re: Motorola Droid 4 progress, power consumption

2018-05-04 Thread Pavel Machek
Hi! > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > current_avg > > Thu May 3 09:33:07 CEST 2018 > > -56000 > > -72308 > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > > current_avg > > Thu May 3 09:33:08 CEST 2018 > > -37000 > > -211362 > > I

Re: Motorola Droid 4 progress, power consumption

2018-05-03 Thread Tony Lindgren
* Pavel Machek [180503 09:08]: > I'd like current_avg more, but if I cat it manually, it changes on > order of seconds, and quite significantly... which suggest shorter > polling interval would be needed. > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now >

Re: Motorola Droid 4 progress, power consumption

2018-05-03 Thread Tony Lindgren
* Pavel Machek [180503 09:08]: > I'd like current_avg more, but if I cat it manually, it changes on > order of seconds, and quite significantly... which suggest shorter > polling interval would be needed. > > user@devuan:/sys/class/power_supply/battery$ date; cat current_now > current_avg > Thu

Re: Motorola Droid 4 progress, power consumption

2018-05-03 Thread Pavel Machek
Hi! > > Anyway, >5.5hours of standby with screen off, GSM on is already > > usable. > > Just to rub that in, you do mean GSM usable for voice calls and > SMS with your unicsy_demo with mainline kernel plus the pending > LCD related patches, right? :) > > > This is the core of code I'm using. >

Re: Motorola Droid 4 progress, power consumption

2018-05-03 Thread Pavel Machek
Hi! > > Anyway, >5.5hours of standby with screen off, GSM on is already > > usable. > > Just to rub that in, you do mean GSM usable for voice calls and > SMS with your unicsy_demo with mainline kernel plus the pending > LCD related patches, right? :) > > > This is the core of code I'm using. >

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Pavel Machek
Hi! > > I also have some hacks to allow configuration of the full > > voltage. Charging to 4.35V is pretty agressive, and I believe baterry > > will be damaged less if we only charge to 4.1V. > > That should be based on the PMIC register values that Android > uses. Worth rechecking for sure, I

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Pavel Machek
Hi! > > I also have some hacks to allow configuration of the full > > voltage. Charging to 4.35V is pretty agressive, and I believe baterry > > will be damaged less if we only charge to 4.1V. > > That should be based on the PMIC register values that Android > uses. Worth rechecking for sure, I

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Tony Lindgren
* Pavel Machek [180502 19:12]: > Hi! > > > > Anyway, >5.5hours of standby with screen off, GSM on is already > > > usable. > > > > Just to rub that in, you do mean GSM usable for voice calls and > > SMS with your unicsy_demo with mainline kernel plus the pending > > LCD related

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Tony Lindgren
* Pavel Machek [180502 19:12]: > Hi! > > > > Anyway, >5.5hours of standby with screen off, GSM on is already > > > usable. > > > > Just to rub that in, you do mean GSM usable for voice calls and > > SMS with your unicsy_demo with mainline kernel plus the pending > > LCD related patches, right?

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Pavel Machek
Hi! > > Anyway, >5.5hours of standby with screen off, GSM on is already > > usable. > > Just to rub that in, you do mean GSM usable for voice calls and > SMS with your unicsy_demo with mainline kernel plus the pending > LCD related patches, right? :) Plus some other patches, yes. > > This is

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Pavel Machek
Hi! > > Anyway, >5.5hours of standby with screen off, GSM on is already > > usable. > > Just to rub that in, you do mean GSM usable for voice calls and > SMS with your unicsy_demo with mainline kernel plus the pending > LCD related patches, right? :) Plus some other patches, yes. > > This is

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Tony Lindgren
* Pavel Machek [180501 18:33]: > Hi! > > 4.17-rc1 is quite usable on droid 4; basically everything > works. OHCI is running all the time, which means we burn a lot of > power needlessly. To work around that we can use n_gsm and and then suspend USB device. That will need the modem

Re: Motorola Droid 4 progress, power consumption

2018-05-02 Thread Tony Lindgren
* Pavel Machek [180501 18:33]: > Hi! > > 4.17-rc1 is quite usable on droid 4; basically everything > works. OHCI is running all the time, which means we burn a lot of > power needlessly. To work around that we can use n_gsm and and then suspend USB device. That will need the modem wake gpio

Motorola Droid 4 progress, power consumption

2018-05-01 Thread Pavel Machek
Hi! 4.17-rc1 is quite usable on droid 4; basically everything works. OHCI is running all the time, which means we burn a lot of power needlessly. Anyway, >5.5hours of standby with screen off, GSM on is already usable. This is the core of code I'm using.

Motorola Droid 4 progress, power consumption

2018-05-01 Thread Pavel Machek
Hi! 4.17-rc1 is quite usable on droid 4; basically everything works. OHCI is running all the time, which means we burn a lot of power needlessly. Anyway, >5.5hours of standby with screen off, GSM on is already usable. This is the core of code I'm using.