I was pulling hair on getting the power consumption to be in a sane margin, but my problem with the idle power consumption was a problem with my bluetooth host. With my iPhone 5s the idle consumption was at 120uA, but with my friends android phone we got just 11uA !! This means that my power saving routine was correctly set up after all.
(the connection interval is set by the BT host, not the peripheral. the peripheral just gives some preference that the host can ignore as it wishes)
So the current figures are as follows:
Sitting on the desk: 11uA or more depending on host (max. 17,8 years of battery life)
typing at mediocre speed: 300uA (170 days of battery life)
So in practice if you type actively for around 6 hours every day, the resulting battery life would be around 1,7 years. (calculated with the android phone figures)
The keyboard automatically goes to the idle mode in less than 0,01 seconds if no keys are pressed.
It can manually be forced into the deeper sleep mode, where it does not consume electricity in any practical quantity.
As the bluetooth and power saving problems are now solved, I'll finish the case and then open a IC thread after I've taken some pretty pictures
![Wink ;)](https://cdn.geekhack.org/Smileys/solosmileys/wink.gif)