-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathbat_img.py
11 lines (9 loc) · 3.6 KB
/
bat_img.py
1
2
3
4
5
6
7
8
9
10
11
import base64
BATT_STATUS = {
"100": base64.b64decode("iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAABX0lEQVR4nO2WPS8FQRSGn0tCIRGFRISIoJNIfLQoSRQ0W7mJ2Dn2Fkj0CoUelUb8BBUJnRbR0vkHIgqN6pWRldy4H7LsXlvsk0y1O3ueM3PmzEJBQUGeCER7JKacCNIcoVhZFyNNg5sYNHFvQk68OvGS1jDx5r9r4nRPtDUSuHDixotksbomZuPEtmoeBqLDxLuJBTLEiUMnrmoeRKI3XqLpjAV2/Tb/t8Cjj7Mmev4k4E+Mr/CEApU4jh9nvxIoiy5fSCae/BwS4jM3cWziMpGAE31O7Jt4rspCq6LbxLgvYBPOZxmJ/mYSJg4SCTgxYWLHiXIo5iIxamK5WsTEgxfYFp0/rUJigXo4sRjPuQ7FEqJEllvwHSfGQjFDq4swN8cw1UYUtK4VH9VtxR4nzk3cRmKItBGlDTHvLyMTm3XfqYgBJ+4yvo5PGl7HX+01FJNZ/JBUxPBnkIKCgrzxAXaZqczlAwyWAAAAAElFTkSuQmCC"),
"90": base64.b64decode("iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAABHUlEQVR4nO2Y3QnCQBCEpw1tSatIFivwpwBtS0HFJ7tRH/RpZOUCIRpzgng5mQ/ysGQDM7eXS3YBIYQQQgjxU4wYl8TaiIsRTHmVxNm1FMToUxOr1OKt3dQyuhLhgWtBTCfEAImZEAMjZq7JtUVVxohNSJ6iZ5TEPCzyujPZiJMnV5UwYmvEsXY/WVwQw7DFTjFGHnsxl7iV1MJMRhqkXmGLjGvH8b7poVdC0RK78KaZLI3UkRFHFQloa71A70gf3pGSOPzF8WvPH8Rd1kbQR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