Replies: 2 comments 11 replies
-
Power consumption is pretty much solved now. I learned about a different light sleep mode, that allows me to save around 40mA. This means, the power consumption is now about 20mA in idle mode. So we are at around 21.4h battery life without compromises (for our hypothetical phone). And that's with the power LED still in place. With that gone, the power consumption would drop to 15mA, which would give us 22h battery life. I'll still leave the hard poweroff feature as a configurable option, but I don't think it's necessary as a default option. |
Beta Was this translation helpful? Give feedback.
-
Is the back light for the keyboard always on, or controllable for on/off via a specific key/sequence? |
Beta Was this translation helpful? Give feedback.
-
The current implementation consumes around 60mAh (measured by the very inaccurate current consumption meter on my phone).
I calculated around 40mAh, not including DC-DC conversion losses and the power consumed by keeping the USB stack active on the phone's side. So ~60mAh in total sounds like the right ball-park.
If your phone usually has a battery life of 24h and a 4000mAh battery, that might reduce your battery life to around 18h.
With the keyboard backlight off, the consumption drops to around 40mAh. For the same calculation we are now up to a bit over 19h.
According to the schematic, the Arduino's power LED consumes around 5mAh as well. So removing that will put us at 35mAh.
If I read the datasheet correctly, I can also underclock the Arduino to 1MHz, which should give us another ~12-15mAh, which means, if we are lucky, we are down to 20mAh, which puts us at 21.4h battery life.
These are the no-compromises optimisations.
Additionally, the microcontroller can be put to sleep when not in use. This reduces the power consumption so far, that my phone's discharge sensor couldn't make out any difference. The problem is, that this also turns off the USB connection, so that the USB connection needs to reconnect when the keyboard wakes up from a key press. It then takes another second or two until it is ready.
What do you think, is the power consumption good enough?
What kind of power saving compromises would you be ok with?
Do we need to switch the chip to something with a more conservative power consumption?
Beta Was this translation helpful? Give feedback.
All reactions