Skip to content

luci-mod-battstatus: Add photonicat2 support#625

Merged
1715173329 merged 1 commit intoimmortalwrt:masterfrom
cvb011:battstatus-mod-pcat2
Jan 16, 2026
Merged

luci-mod-battstatus: Add photonicat2 support#625
1715173329 merged 1 commit intoimmortalwrt:masterfrom
cvb011:battstatus-mod-pcat2

Conversation

@cvb011
Copy link
Contributor

@cvb011 cvb011 commented Dec 23, 2025

  • This PR is not from my main or master branch 💩, but a separate branch ✅
  • Each commit has a valid ✒️ Signed-off-by: <my@email.address> row (via git commit --signoff)
  • Each commit and PR title has a valid 📝 <package name>: title first line subject for packages
  • Incremented 🆙 any PKG_VERSION in the Makefile
  • Tested on: aarch64, Immortalwrt Snapshot, Chrome & Safari
  • ( Preferred ) Mention: @ the original code author for feedback
  • ( Preferred ) Screenshot or mp4 of changes:
  • ( Optional ) Closes: e.g. openwrt/luci#issue-number
  • ( Optional ) Depends on: kernel: add photonicat2 power management driver immortalwrt#2169
  • Description: add support for ariaboard photonicat2 using kmod-photonicat-pm

@cvb011 cvb011 force-pushed the battstatus-mod-pcat2 branch 2 times, most recently from 79ebf10 to 782532e Compare December 26, 2025 22:32
;;
ariaboard,photonicat2)
if [ -d /sys/class/power_supply/battery ]; then
json_add_boolean valid 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix indentation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Add photonicat2 support with kmod-photonicat-pm

Signed-off-by: Jason Zou <jasonforhise@outlook.com>
@cvb011 cvb011 force-pushed the battstatus-mod-pcat2 branch from 782532e to dfcb021 Compare January 6, 2026 10:15
@1715173329 1715173329 merged commit ebd221c into immortalwrt:master Jan 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments