SarangRao20 GitHub avatar

battery-charge-limiter

SarangRao20

一个跨平台的守护程序,通过直接写入嵌入式控制器(EC)寄存器来防止笔记本电脑电池过充。

Stars

6

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-30

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它在消费级笔记本(如HP Pavilion)上启用隐藏的硬件电池充电限制功能,仅需在Windows和Arch Linux上操作EC寄存器即可实现。

适合谁使用

  • 缺乏电池健康管理功能的HP Pavilion笔记本用户
  • 希望延长电池寿命的Windows或Arch Linux用户
  • 熟悉硬件EC寄存器操作的爱好者
  • 希望为其他笔记本查找EC寄存器的用户

典型使用场景

  • 设置80%充电上限以减少锂电池老化
  • 在Arch Linux上运行无头守护程序自动停止充电
  • 使用检测脚本为任何笔记本找到正确的EC寄存器
  • 在消费级笔记本上重新启用隐藏的充电限制硬件功能

项目优势

  • 跨平台支持,Windows和Arch Linux均提供一键安装
  • 直接在硬件EC层面操作,而非依赖软件充电控制
  • 附带检测脚本和社区寄存器数据库,方便用于其他笔记本
  • 每隔数秒自动重新写入禁止充电值,应对EC寄存器复位问题

使用前须知

  • 仅在HP Pavilion 15-eg3xxx上测试,其他型号需手动发现EC寄存器
  • Windows设置需要关闭Secure Boot或使用已签名驱动(RwDrv.sys)
  • Arch Linux守护程序使用60秒轮询间隔,若ACPI路径不稳定可能失效

README 快速开始

Quick Start

项目描述

Reverse-engineered the Embedded Controller register for battery charge control. Built a cross-platform daemon (Windows + Arch) that enforces 80% hardware cap on laptops where BIOS hides this feature. Includes EC discovery tool for other models.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
Blaizzy
精选
Blaizzy GitHub avatar

nativ

Nativ is a native macOS app that lets you run AI models locally on Apple silicon, offering chat, model management, performance analytics, and an OpenAI/Anthropic-compatible API server.

AI 与机器学习AI 视觉与语音
985
makecindy
精选
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI 与机器学习大语言模型
958