@glabasnat
The Atomic QRCode2 Base (SKU: A133-B) typically draws a working current of around 174.18 mA at 5V when connected to an Atom-Lite. Your observation of 170 mA is within the expected range, so this behavior is normal.
However, if the device is heating up significantly, you can try the following to reduce power consumption:

Use Pulse Mode: Ensure you are using the TRIGGER_MODE_PULSE mode to minimize continuous power draw.
Adjust Lighting: Reduce the brightness of the fill light (set_fill_light_brightness) or turn it off when not needed (FILL_LIGHT_OFF).
Limit Continuous Operation: Avoid prolonged continuous scanning by using shorter decode delays (set_decode_delay).

If the issue persists, check for firmware updates or ensure proper ventilation around the device.

https://chat.m5stack.com/