BUG: Battery isn`t properly recognized
BUG: Battery isn`t properly recognized
There is a bug in batt plugin - it searches /proc/acpi/battery/BAT* , but batteries are not always named BAT*. Someone can fix this? I can send a patch, but I don`t know for whom.
Re: BUG: Battery isn`t properly recognized
My battery plugin isn't working and I guess this bug is what causes the problem. My battery is recognized as "C23B" and thus I get the "no batteries found" message by the plugin.
Can we expect this to be fixed soon?
Can we expect this to be fixed soon?
Re: BUG: Battery isn`t properly recognized
Hello qmic, If you have a patch please post it under code, those relay want can use it.
Re: BUG: Battery isn`t properly recognized
Is there any workaround for the battery monitor problem?
I have found mine as C18B, also the ac adapter as /proc/acpi/ac_adapter/C18F/state
and
Thanks
I have found mine as C18B, also the ac adapter as /proc/acpi/ac_adapter/C18F/state
and
Code: Select all
ls /sys/class/power_supply/
C18B@ C18F@
-
- Posts: 6
- Joined: Fri Mar 27, 2009 6:07 am
Re: BUG: Battery isn`t properly recognized
There are some bad hardcoded pathname assumptions in batt.c, I'm doing a rewrite now...See SourceForge tracker item ID: 2378426
Re: BUG: Battery isn`t properly recognized
Thankyou, look forward to it. If you need a tester let me know.
Re: BUG: Battery isn`t properly recognized
Could you offer a link for that source?juergenhoetzel wrote:There are some bad hardcoded pathname assumptions in batt.c, I'm doing a rewrite now...See SourceForge tracker item ID: 2378426
cheers,
Teric
-
- Posts: 6
- Joined: Fri Mar 27, 2009 6:07 am
Re: BUG: Battery isn`t properly recognized
I have not commited to svn trunk yet. Because it will break svn trunk builds.
The new code batt_sys.[ch] is here:
http://github.com/juergenhoetzel/lxde-s ... attery-sys
It is based on the Linux acpi-1.4 package (glibified/simplified).
I now move battery-backend code out of batt.c.
On the long run we are in need of a modern devkit-power battery plugin
The new code batt_sys.[ch] is here:
http://github.com/juergenhoetzel/lxde-s ... attery-sys
It is based on the Linux acpi-1.4 package (glibified/simplified).
I now move battery-backend code out of batt.c.
On the long run we are in need of a modern devkit-power battery plugin
-
- Posts: 6
- Joined: Fri Mar 27, 2009 6:07 am
Re: BUG: Battery isn`t properly recognized
Code is in SVN trunk: Please test!