Sorry for the late response, I thougt I might have an old installation I could look into, but unfortuanatly I don't.
Ok, yeah i had similar issues. The module draws 50 to 70 mA in idle.
I can't remember if I ever had the project running in stm32Cube IDE and I don't have it installed anymore. Unless you are dependend on it I would like to avoid installing it ;)
What I just did is installed Ubuntu using WSL then downloaded the the following toolchain from arm:
gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
(the latest one you get with apt install gcc-arm-... ist too new and will fail)
Then you just have to unpack it (I had to install bzip2 before) and add it to the path using export PATH=...
Finally you go into the bluesaab-master and just type make and the software should build without any errors.
(If you paste this message into something like ChatGPT it will probably run you through the exact process :))
I'm curious though what your approach of solving the issue looks like. I would love to look into your code if possible.
Jan
2001 9-5 Aero | 2001 9-3 Aero Convertible | 2004 9-5 Aero (with kenwood)