furble icon indicating copy to clipboard operation
furble copied to clipboard

Improve battery during Infinite-ReConnect

Open gkoh opened this issue 1 year ago • 4 comments

@hijae I had a thought with improving battery life when using Infinite-ReConnect. The default connect timeout is 30s, this means the device will continuously attempt connect for 30s, thus the duty cycle is effectively 100%.

What if, during Infinite-Reconnect, we reduce the connect timeout to, say, 10s. And sleep for, say, 10s, this would reduce the duty cycle to 50%. This should improve lifetime somewhat (although GPS looks like quite a large power sink).

We could adjust the numbers to ensure responsive to the camera going active (ie, you don't want to wait 60s for the next connect attempt).

gkoh avatar Jan 03 '25 02:01 gkoh

I think it's a great idea, because I'm using 18650 HAT(M5StickC 18650C) to get more battery life.

hijae avatar Jan 16 '25 02:01 hijae

I think it's a great idea, because I'm using 18650 HAT(M5StickC 18650C) to get more battery life.

This one? https://shop.m5stack.com/products/m5stickc-18650

If so, that's 2200mAh, for a total of 2400mAh.

Just to check our understanding ... Based on my testing, GPS + connecting uses somewhere around 50-100mA (it seems to fluctuate a lot depending on which phase of the connect is happening). If we average this to, say, 75mA, you would get ... 32 hours of continuous run. Have you seen this?

gkoh avatar Jan 16 '25 03:01 gkoh

I've used it for about 12 hours straight, but if you need a longer test, I'll do it.

hijae avatar Jan 17 '25 07:01 hijae

I've used it for about 12 hours straight, but if you need a longer test, I'll do it.

Not necessary, but thank you for offering. I was interested in whether the current draw estimates were accurate or even realistic.

I will work on this change, 10 seconds connect, 10 seconds sleep, during multi-connect.

gkoh avatar Jan 17 '25 07:01 gkoh