Charging control broken on miatoll - Thread Pool configuration error in Android 15
Expected Behavior
- Charging control should limit battery charging to the set percentage (e.g., 80%)
- The vendor.lineage.health.IChargingControl service should function properly
- mIsLimitSet should be true when charging control is enabled
Current Behavior
- Charging control appears enabled in settings but doesn't actually limit charging
- Device continues charging to 100% despite limit being set to 80%
- dumpsys lineagehealth shows "mIsLimitSet: false" even when charging control is enabled
- Logs show "Thread Pool max thread count is 0. Cannot cache binder" error for vendor.lineage.health.IChargingControl/default service
Steps to Reproduce
1. Navigate to Settings > Battery > Charging control
2. Enable charging control and set limit to 80%
3. Connect charger and observe that device charges past 80% to 100%
4. Verify the issue with ADB commands:
- Run: `ab shell dumpsys lineagehealth`
- Observe: "mIsLimitSet: false" despite charging control being enabled
- Run: `ab logcat -d | grep "vendor.lineage.health"`
- Observe: "Thread Pool max thread count is 0. Cannot cache binder as linkToDeath cannot be implemented. serviceName: vendor.lineage.health.IChargingControl/default"
5. The charging control service fails to initialize properly due to thread pool configuration error
Device information
/codename miatoll
/version lineage-22.2-20250707-NIGHTLY-miatoll
/date 2025-07-07
/kernel Linux version 4.14.336-g803b55865869 #1 SMP PREEMPT Mon Jul 7 00:35:59 UTC 2025
/baseband MPSS.AT.4.4.c6-00071-RENNELL_GEN_PACK-3
/mods Google Apps
I have read the directions.