Skip to content

[Bug]: High battery usage with 4.3.2 #803

Closed

Description

@Haagel-FR

Preliminary Verification

  • I have searched existing open and closed issues and discussions to verify this bug is not already reported.
  • I have tested or verified this behavior on the latest release or beta version.
  • I have tried clearing app cache or testing with default settings.

Description of the Bug

Hi,

I use Leantype for a few months without issues, but the 4.3.2 (offline flavor) seems to have a huge battery impact:

Screenshot_2026-11-14-05-18-59-06_0ba066473b79d6e213a1f6f52505e2ee

Unfortunately, I have no clue why.

Steps to Reproduce

Just let the phone without doing anything for a few hours

Expected Behavior

Not so much battery usage

Logs / Crash Report

LeanType_log_2026-11-14_05-26-06.txt

Build Flavor

Offline (zero network permissions, privacy focused)

App Version

4.3.2

Device & Android Version

Oppo find X5 pro, Android 16

Target App (if applicable)

No response

Screenshots or Screen Recordings

No response

Activity

  1. LeanBitLab commented on Nov 14, 2026

    @LeanBitLab
    Owner

    @Haagel-FR is the voice plugin latest version, can you try force closing voice plugin once and not use the voice for a while to check if thats the culprit, or not select the infinite option

  2. Haagel-FR commented on Nov 14, 2026

    @Haagel-FR
    Author

    @Haagel-FR is the voice plugin latest version, can you try force closing voice plugin once and not use the voice for a while to check if thats the culprit

    Hi,

    Yes, the voice plugin is 1.0.2. I've just uninstalled it. I'll tell you in a few hours about the battery usage.

  3. LeanBitLab commented on Nov 14, 2026

    @LeanBitLab
    Owner

    @Haagel-FR is the voice plugin latest version, can you try force closing voice plugin once and not use the voice for a while to check if thats the culprit

    Hi,

    Yes, the voice plugin is 1.0.2. I've just uninstalled it. I'll tell you in a few hours about the battery usage.

    possible Root Cause: When the offline voice engine was used, VoicePluginManager remained bound to VoiceEngineService with BIND_AUTO_CREATE. When PREF_VOICE_WHISPER_KEEP_LOADED_SECONDS was set to -1 (indefinitely) or the phone was locked for hours, the background service was never unbound, holding CPU resources, active threads, and wake locks.

  4. LeanBitLab commented on Nov 14, 2026

    @LeanBitLab
    Owner

    @Haagel-FR is the voice plugin latest version, can you try force closing voice plugin once and not use the voice for a while to check if thats the culprit

    Hi,

    Yes, the voice plugin is 1.0.2. I've just uninstalled it. I'll tell you in a few hours about the battery usage.

    there will be an beta release in 30 minutes if it didn't fixed it ill reopen the issue

  5. Haagel-FR commented on Nov 14, 2026

    @Haagel-FR
    Author

    https://github.com/LeanBitLab/LeanType/releases#release-beta-433-1

    So fast, thank you! I just installed the bêta, I'll let pass a few hours to see what happen

  6. Haagel-FR commented on Nov 15, 2026

    @Haagel-FR
    Author

    I can confirm that this is fixed with 4.3.3 b1 :

    Screenshot_2026-11-15-07-42-17-64_0ba066473b79d6e213a1f6f52505e2ee

    Thank you again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions