LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Battery Indicator (https://www.linuxquestions.org/questions/linux-newbie-8/battery-indicator-4175595422/)

PeterJoe 12-14-2016 12:37 PM

Battery Indicator
 
The battery Indicator in Ubuntu 16.10 doesn't appear unless I disconnect and reconnect the power supply. This on a Fujitsu Life book AH512, can anyone suggest a fix?

BW-userx 12-14-2016 01:06 PM

Quote:

Originally Posted by PeterJoe (Post 5642116)
The battery Indicator in Ubuntu 16.10 doesn't appear unless I disconnect and reconnect the power supply. This on a Fujitsu Life book AH512, can anyone suggest a fix?

try making it show itself then right click on it and see if it has a pref tab to set them.
install a different type of battery icon app
look inside of your UbUnTuTuTuTuTU setup/settings app and see if you can find anything on setting power options.

PeterJoe 12-14-2016 01:16 PM

Thanks, I've tried everything in settings, the OS doesn't seem to detect the battery until power is disconnected/reconnected no matter what application I try. It's not really a problem, just an irritation :)

ardvark71 12-14-2016 01:50 PM

Quote:

Originally Posted by PeterJoe (Post 5642132)
Thanks, I've tried everything in settings, the OS doesn't seem to detect the battery until power is disconnected/reconnected no matter what application I try. It's not really a problem, just an irritation :)

Hello and welcome to the forum :)

In case you're not able to find a solution, perhaps filing a bug report with Ubuntu might be helpful. :)

Regards...

rokytnji 12-14-2016 02:03 PM

Fujitsu laptops are weird in their own way.

They have extra safe-gaurds built into their corp. series laptops.

Supposedly to protect the clients using them.

Ubuntu Link

Mint Link

Edit: I use conky in my Window Manager to handle my battery readings.

Code:

${color}battery: ${color}$acpiacadapter, ${battery_percent BAT0}%
then I went with batti-gtk instead for my tool bar in my window manager.

https://github.com/pborky/batti-gtk/blob/master/batti

PeterJoe 12-14-2016 02:14 PM

Thanks, yes I think it's a Fujitsu issue rather than an Ubuntu one. Oh well, nearly time for a new laptop anyway :)

rokytnji 12-14-2016 02:20 PM

Well, if you have acpi and acpi tools installed in Ubuntu. You can compare the code with this terminal readout below.

Code:

$ acpi -b
Battery 0: Full, 100%

but you have to type in acpi -b yourself as yours might be Battery 1 or some other name.

rokytnji 12-14-2016 02:22 PM

By comparing code. I mean whatever is written into battery indicator icon you are using in Ubuntu in what ever Desktop Environment you are using.

Because it might be just a minor adjustment needed in a text file by you.

PeterJoe 12-14-2016 02:26 PM

Excellent tip, thank you.

Shadow_7 12-14-2016 02:34 PM

$ sudo apt-get install --reinstall ubuntu-desktop pm-utils upower

I ran into an issue when I did an apt-get install unity which basically had no icons / taskbar extras. From a minimal install. Perhaps some HDD corruption or update corruption that made things odd. Re-installation (of the packages, not the OS) might improve things. Otherwise there are other tools.

$ upower -d

Is how I normally check my battery status. Also shows the battery for the wireless mouse. You might also check if your laptop uses the fujitsu-laptop.ko kernel module and if there's "options" you can pass it.

$ sudo modinfo fujitsu-laptop
$ lsmod | grep -i fuji


All times are GMT -5. The time now is 02:08 AM.