I added a battery to my m60 keyboard recently, found a 3000mah with the correct connector, and it does power the keyboard perfectly.
The issue I am having is with charging, it seems like the battery is not charging when plugged in USB.
I do use a powered hub to connect to my computer, and battery levels stays around 44-47%.
I also left the keyboard overnight on a wall charger, nothing changed.
To get an idea of the battery level I did modified code.py, updated python-keyboard library with the latest one from the github repo, adding the macro as such:
def macro_handler(dev, n, is_down):
print(“Battery %r” % dev.kbd.battery.level)
Am I missing something ? Can you tell me how to charge the battery with the keyboard ?
Firmware is Adafruit CircuitPython 6.0.0-alpha.1-110-g121d78ec9-dirty on 2020-09-03; Makerdiary M60 Keyboard with nRF52840
The battery I am using is https://www.ebay.com/itm/173602816497