Skip to content

Commit

Permalink
legiond: change alt ac_path
Browse files Browse the repository at this point in the history
  • Loading branch information
st0nie committed Nov 18, 2024
1 parent 58e7aaf commit e0a361f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/service/legiond/modules/powerstate.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ typedef enum _POWER_STATE {
#define P_ERROR_AC -2

#define ac_path "/sys/class/power_supply/ADP0/online"
#define ac_path_alt "/sys/class/power_supply/ADP0/online"
#define ac_path_alt "/sys/class/power_supply/ACAD/online"
#define profile_path "/sys/firmware/acpi/platform_profile"

POWER_STATE get_powerstate();
Expand Down

1 comment on commit e0a361f

@MrDuartePT
Copy link
Collaborator

Choose a reason for hiding this comment

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

You forget to update the spec before doing a tag, but I will update them now. Thanks for fixing that :)

Please sign in to comment.