| build: add code owner Signed-off-by: aqxyjay <zhangchunxin@huawei.com> | 2 年前 |
| fix: Adapt to composer modifications Signed-off-by: yanghang <kongwei13@h-partners.com> | 10 个月前 |
| Update readme Signed-off-by: hujun211 <hujun211@huawei.com> | 4 年前 |
| Signed-off-by: mr-liang2504 <liangzhicheng10@huawei.com> Co-Authored-By: Agent Change-Id: Iaf298e4385fc09d37cb16ce4c699433231c4b2cb Signed-off-by: mr-liang2504 <liangzhicheng10@huawei.com> | 11 天前 |
| style: battery_manager仓 IDL化 Signed-off-by: 张全超 <zhangquanchao@huawei.com> | 1 年前 |
| feat: compatible component Signed-off-by: Hellen_666 <yanxuejun@h-partners.com> | 7 个月前 |
| fix: Add a button to switch the direction of reverse charging Signed-off-by: cashion <shiyinbiao@hisilicon.com> | 10 天前 |
| fix: Add a button to switch the direction of reverse charging Signed-off-by: cashion <shiyinbiao@hisilicon.com> | 10 天前 |
| fix: unify all error output to OutputError JSON format - Add OutputFallbackError for cJSON alloc failure (no cJSON dependency) - Replace PrintUsage + CLI_ERROR with OutputError in HandleCommand - Replace CLI_ERROR with OutputError in PrintSubcommandHelp for unknown cmd - Remove CLI_ERROR calls before OutputError in Cmd functions (dedup) - Remove unused PrintUsage function and CLI_ERROR macro Co-Authored-By: Agent Change-Id: Ia2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1 Signed-off-by: wangyantian <wangyantian@huawei.com> | 2 个月前 |
| fix: alarm Signed-off-by: Hellen_666 <yanxuejun@h-partners.com> | 4 个月前 |
| style: add .clang-format Signed-off-by: aqxyjay <zhangchunxin@huawei.com> | 3 年前 |
| update OpenHarmony 2.0 Canary | 5 年前 |
| modify code style Signed-off-by: baoguotao <baoguotao@huawei.com> | 4 年前 |
| feat: charger animator based on arkui Signed-off-by: yangziyong <nsyangziyong@huawei.com> | 2 年前 |
| docs: update readme Signed-off-by: qiuxiangdong <qiuxiangdong3@huawei.com> Change-Id: Ie7cd019baf81599e6de8c16b933ec03fd95dd1cf | 3 年前 |
| docs: update the contents of readme Signed-off-by: yuanbo <yuanbo@huawei.com> | 3 年前 |
| feat: add ohos-battery-manager CLI tool for battery capacity and energy queries Add a new CLI tool under tools/ohos-battery-manager/ that wraps BatterySrvClient inner API to provide battery information queries via command line interface. Commands: - capacity: query battery level percentage (0-100%) - total-energy: query battery total energy (mAh) - remain-energy: query battery remaining energy (mAh) The tool uses static command table dispatch (std::unordered_map), outputs JSON to stdout, logs to stderr, and is configured with CFI sanitize per battery_manager component requirements. Feature gate: battery_manager_feature_support_battery_cli (default: false) Co-Authored-By: Agent Change-Id: I11bbcad5db8189338df3b1d7982f9860868aaa7a Signed-off-by: wangyantian <wangyantian@huawei.com> | 2 个月前 |
| fix: fix the name format of hisysevent Signed-off-by: lyj_love_code <liangyujian2@huawei.com> | 3 年前 |
| !817 merge addTaiheToBundle into master 新增 taihe_ffi_gen 部件依赖 Created-by: LeechyLiang Commit-by: LeechyLiang Merged-by: openharmony_ci Description: ### 相关的Issue https://gitcode.com/openharmony/powermgr_battery_manager/issues/672 ### 原因(目的、解决的问题等) taihe_ffi_gen 已独立为部件,需要补充 bundle.json 中的组件依赖,保证依赖关系完整。 ### 描述(做了什么,变更了什么) - 在 bundle.json 的 component.deps.components 中新增 taihe_ffi_gen。 - 提交:acd30a8 ### 验证结果(新增、改动、可能影响的功能) 已验证:bundle.json 为合法 JSON,taihe_ffi_gen 已加入 component.deps.components。本次仅修改依赖配置,不涉及运行时代码变更。 > 请检查PR是否满足[《代码合入流程指导和规范》](https://gitee.com/openharmony/powermgr_power_manager/wikis/issue-commit-pr-standard) , 否则将不会审查通过。 **【关联Issue】** **【修改描述】** **【验证结果】** ### 日志规范自检 不涉及。本次仅修改 bundle.json 依赖配置,没有新增或修改日志打印。 ### 安全编码自检 不涉及。本次仅修改 bundle.json 依赖配置,没有新增或修改代码逻辑;不涉及指针、内存、fd、锁、外部输入、敏感信息、整数运算或权限校验。 ### 是否已执行L0用例 已验证。不涉及新增运行时代码,已完成 bundle.json JSON 合法性和 deps.components 依赖项检查。 See merge request: openharmony/powermgr_battery_manager!817 | 2 天前 |