Skip to content

Deepsleep power consumption #1

@sok63

Description

@sok63

Hi, thank you for this great project, especially for the idea with the web server and alternative data source!

I've tried testing the project and noticed high power consumption in standby mode (measured using FNB85 for power monitoring).

As far as I understand, the issue might be that some required code from the M5Unified library isn't being called.

I've rewritten the sleep routine, and power consumption improved significantly:

M5.Imu.init();
auto imu = M5.Imu.sleep(); // Not sure if this has a big impact, but according to the official docs, power values are given with IMU in sleep mode

// Possibly because the display isn't being put to sleep
M5.Display.sleep();
M5.Display.waitDisplay();
delay(200);

M5.Rtc.clearIRQ();
M5.Rtc.setAlarmIRQ(1800);
M5.Power.powerOff(); // Or this — it performs a more comprehensive power-down

Could you please check if this approach makes sense? Maybe it's worth integrating something similar into the main code to reduce power usage in deep sleep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions