[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2018-09-15 Thread Gioele Barabucci
Matthew, this is the original bug report, fixed in 2012 and now closed.

I have opened another bug for the regression in 4.15 with your
description of the problem (that is similar to what I am experiencing):
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792672

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from "acpitool -a -b" in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  "lshal -m" doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2018-09-14 Thread Matthew McCallum
This happens for me.

Linux 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux

I'm running Linux Mint 19 Cinnamon 3.8.9. If I disconnect power, remove
the back cover, disconnect both the main battery and the backup battery,
I am able to get power status updates (e.g. battery will show as
charging/charged when plugged in, or just regular battery when not).
Once I sleep, I have to repeat this process if I want the battery status
to work again.

`acpi -p` correctly shows the charging state, but `tlp-stat -b` does
not.

`acpitool -ab` shows when unplugged,
  Battery #1 : Charging, 100.0%, 00:00:00
  AC adapter : off-line 

and when plugged in:
  Battery #1 : Charging, 100.0%, 00:00:00
  AC adapter : online

Note: Battery charge percentage does work.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from "acpitool -a -b" in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  "lshal -m" doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2018-02-03 Thread Clement Lefebvre
** No longer affects: linuxmint

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from "acpitool -a -b" in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  "lshal -m" doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2016-09-12 Thread Andrew Leslie
** Also affects: linuxmint
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in Linux Mint:
  New
Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from "acpitool -a -b" in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  "lshal -m" doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-04-19 Thread svenmeier
Works fine with 14.04 on my 900x3c

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-03-01 Thread juanmanuel
Breaking News!

A fix in the form of a kernel patch has now been posted to the linux-
acpi and linux-kernel mailing list:

[PATCH v2] ACPI / EC: Clear stale EC events on Samsung systems
http://marc.info/?l=linux-acpim=139359680828880w=2

That kernel patch was made by Kieran Clancy and tested by me and others.

--
Juan Manuel Cabo
http://zenstep.com.ar/samsung-linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-23 Thread Mattia Guidi
And please, to all those who are affected by this bug, go to the new bug
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589) that Juan
Manuel opened and let the Ubuntu guys know that it affects you.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-23 Thread juanmanuel
UPDATED v2: Safer because it obtains the EC ports automatically from 
/proc/ioports, and it micro-pauses between queries, so that the EC returns each 
event only once. This replaces the little program in #3.

This is the program I made, that unstucks the computer so that it can send 
LID and AC and Battery events again. (it queries the embedded controller queued 
events, thus unblocking the EC so that it can start sending them again).

Ideally run after resume from sleep, or at any other time.

** Attachment added: samsung_fix_ec_events_v2.c
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+attachment/3993277/+files/samsung_fix_ec_events_v2.c

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Christopher M. Penalver
erikj, this bug was reported a while ago and there hasn't been any
activity in it recently. We were wondering if this is still an issue? If
so, could you please test for this with the latest development release
of Ubuntu? ISO images are available from http://cdimage.ubuntu.com
/daily-live/current/ .

If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications-Accessories-Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p linux 971061

If reproducible, could you also please test the latest upstream kernel 
available (not the daily folder) following 
https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional 
upstream developers to examine the issue. Once you've tested the upstream 
kernel, please comment on which kernel version specifically you tested. If this 
bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For 
example:
kernel-fixed-upstream-3.14-rc3

This can be done by clicking on the yellow circle with a black pencil icon next 
to the word Tags located at the bottom of the bug description. As well, please 
remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** Tags added: quantal

** Tags removed: acpi battery
** Tags added: needs-kernel-logs needs-upstream-testing

** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

** Project changed: acpi = linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in The Linux Kernel:
  Incomplete
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread erikj
Hi,

What do you mean by there hasn't been any activity in it recently? Have
you checked the comments? One person actually found a workaround after
almost 2 years. There has been a ton of happy comments on that.

But for myself - I am not using the laptop nor Ubuntu anymore, so I cannot
confirm anything about it.

But if you check the comments then it is quite obvious that the problem is
still there and there is a small program that you can use for a workaround.


Regards,
Erik


On Sat, Feb 22, 2014 at 1:07 PM, Christopher M. Penalver 
christopher.m.penal...@gmail.com wrote:

 erikj, this bug was reported a while ago and there hasn't been any
 activity in it recently. We were wondering if this is still an issue? If
 so, could you please test for this with the latest development release
 of Ubuntu? ISO images are available from http://cdimage.ubuntu.com
 /daily-live/current/ .

 If it remains an issue, could you please run the following command in
 the development release from a Terminal
 (Applications-Accessories-Terminal), as it will automatically gather
 and attach updated debug information to this report:

 apport-collect -p linux 971061

 If reproducible, could you also please test the latest upstream kernel
 available (not the daily folder) following
 https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional
 upstream developers to examine the issue. Once you've tested the upstream
 kernel, please comment on which kernel version specifically you tested. If
 this bug is fixed in the mainline kernel, please add the following tags:
 kernel-fixed-upstream
 kernel-fixed-upstream-VERSION-NUMBER

 where VERSION-NUMBER is the version number of the kernel you tested. For
 example:
 kernel-fixed-upstream-3.14-rc3

 This can be done by clicking on the yellow circle with a black pencil icon
 next to the word Tags located at the bottom of the bug description. As
 well, please remove the tag:
 needs-upstream-testing

 If the mainline kernel does not fix this bug, please add the following
 tags:
 kernel-bug-exists-upstream
 kernel-bug-exists-upstream-VERSION-NUMBER

 As well, please remove the tag:
 needs-upstream-testing

 Once testing of the upstream kernel is complete, please mark this bug's
 Status as Confirmed. Please let us know your results. Thank you for your
 understanding.

 ** Tags added: quantal

 ** Tags removed: acpi battery
 ** Tags added: needs-kernel-logs needs-upstream-testing

 ** Changed in: linux (Ubuntu)
Importance: Undecided = Medium

 ** Changed in: linux (Ubuntu)
Status: Confirmed = Incomplete

 ** Project changed: acpi = linux

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/971061

 Title:
   acpi reports battery state incorrectly

 Status in The Linux Kernel:
   Incomplete
 Status in linux package in Ubuntu:
   Incomplete

 Bug description:
   I have a new Samsung 9-series laptop (NP900X3B) and the battery state
   is detected incorrectly. Basically the state what was at the time of
   boot stays active all the time - regardless of the ac-adapter state.

   Here is output from acpitool -a -b in various situations:

   When booted with charger connected and charger is still connected:
 Battery #1 : charging, 47.00%, 01:00:43
 AC adapter : on-line

   When booted with charger connected and charger is now disconnected:
 Battery #1 : charging, 47.00%, 01:36:59
 AC adapter : off-line
   [The battery couldn't possibly be charging when the AC adapter is
 offline!]

   When booted with charger disconnected and charger is still disconnected:
 Battery #1 : discharging, 47.00%, 01:39:44
 AC adapter : off-line

   When booted with charger disconnected and charger is now connected:
 Battery #1 : discharging, 47.00%, 00:53:43
 AC adapter : on-line
   [The battery is actually charging as the AC adapter is online]

   The percentage and time are correctly updated when the battery is
   actually charging or discharging - regardless of the reported state.
   So the state is the only thing that is incorrect. However a number of
   applications make their decisions based on this state (battery
   monitor, jupiter, etc.) and therefore behave incorrectly.

   lshal -m doesn't report anything when I plug the charger in or out.

   ProblemType: Bug
   DistroRelease: Ubuntu 12.04
   Package: acpi (not installed)
   ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
   Uname: Linux 3.2.0-21-generic x86_64
   ApportVersion: 2.0-0ubuntu2
   Architecture: amd64
   Date: Sun Apr  1 22:50:35 2012
   EcryptfsInUse: Yes
   InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64
 (20120328)
   ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
   SourcePackage: acpi
   UpgradeStatus: No upgrade log present (probably fresh install)

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/linux/+bug/971061/+subscriptions


-- 

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Andrea Lazzarotto (Lazza)
I find it quite *outrageous* that the bug is not considered confirmed
anymore. I am confirming it again since it affects multiple users.

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in The Linux Kernel:
  Incomplete
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Christopher M. Penalver
erikj, this bug report is being closed due to your last comment
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/140
regarding you no longer use the hardware originally reported against.
For future reference you can manage the status of your own bugs by
clicking on the current status in the yellow line and then choosing a
new status in the revealed drop down box. You can learn more about bug
statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for
taking the time to report this bug and helping to make Ubuntu better.
Please submit any future bugs you may find.

Andrea Lazzarotto, given linux (Ubuntu) bugs are treated on a per hardware, and 
per original reporter basis, this wouldn't ever be considered confirmed. If you 
have a bug in Ubuntu, and so your hardware and problem may be tracked, please 
feel free to file a new report with Ubuntu by executing the following in a 
terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: 
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: 
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: 
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

** Changed in: linux (Ubuntu)
   Status: Confirmed = Invalid

** Project changed: linux = acpi (Ubuntu)

** Changed in: acpi (Ubuntu)
   Importance: High = Undecided

** Changed in: acpi (Ubuntu)
   Status: Incomplete = New

** Changed in: acpi (Ubuntu)
 Remote watch: Linux Kernel Bug Tracker #44161 = None

** No longer affects: acpi (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Andrea Lazzarotto (Lazza)
We were talking about a bug which affects 100 users of Ubuntu Saucy
(using the same Samsung hardware), and you decided to mark it as
regarding Quantal in order to say it's invalid. Well, your abuse of
power is quite remarkable, if not offensive.

If this is how you (I mean you, not the Ubuntu team in general) deal
with bugs, you can well imagine I am not going to perform any more bug
submissions here.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Ayberk Özgür
I too can confirm that everything is resolved including lid close, ac
plug/unplug and keyboard backlight on NP900X4C.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Christopher M. Penalver
Ayberk Özgür, thank you for your comment. So your hardware and problem may be 
tracked, could you please file a new report with Ubuntu by executing the 
following in a terminal while booted into a Ubuntu repository kernel (not a 
mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: 
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: 
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: 
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Tomer
Hello Christopher M. Penalver,
I am amazed by your actions in this bug. 
The Ubuntu bug triage team should work on making sure bugs are fixed, not on 
closing bugs that affect hundreds of users because of technicalities.
juanmanuel found a solution for this bug after almost a year without any action 
on part of the ubuntu team,  and your response, instead of making sure the fix 
gets incorporated into Ubuntu, is to close the bug report???
I simply cannot see the logic of your actions - other then wanting to show a 
large number of bug reports closed, no matter what. 
I am reopening the bug and I am sure everyone here who are affected would agree 
that juanmanuels fix (which works so far for everyone involved) should be used 
rather then filing more useless bug reports for the bug that already has a fix.

** Changed in: linux (Ubuntu)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Christopher M. Penalver
Tomer, please do not toggle the Status of this report. The policies are set in 
place as per the Ubuntu Kernel Team. If you are having a problem in Ubuntu, you 
are welcome to file a new report with Ubuntu by executing the following in a 
terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: 
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: 
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: 
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

** Changed in: linux (Ubuntu)
   Status: Confirmed = Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread mmalmeida
Christopher - this is beyond silly!

Why on earth would you want to scatter the information around 100
individual bugs when it affects MULTIPLE USERS as you MAY HAVE NOTICED
if you have read this thread at all.

On behalf of the 106 people who this issue affects, kindly let us know:

- How should we proceed in order to have A SINGLE BUG the 106 users can
subscribe to? We don't want to subscribe to 106 bugs and, as I am sure
you can imagine, juanmanuel, who was kind enough to find  solution, will
definitely not want to post the same solution to 106 bug reports.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Tomer
Christopher,
You are abusing your power as member of the bug control team. 
This bug has no reason being closed, other then taking two years to be noticed 
by the ubuntu team, during which the original reporter changed his hardware.
However, the bug has been confirmed by multiple other users over the time, and 
a fix has been found and confirmed to be working by many of the people affected 
(myself included).
Why on earth would you want to close this bug instead of making sure the fix 
makes it to the kernel team???

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Marcello
Hello,
   I am affected by this bug since, a couple of years (same laptop here,
530U). I have personally experienced it on my laptop on multiple Linux
distributions (including Debian and Arch).

I perfectly understand your policies, but I do not really see the
rationale behind closing the bug with WONTFIX and asking a lot of people
to open a lot of new bugs to signal the very same thing.

For me, the bug is indeed solved by the juanmanuel's userspace program
(thanks a lot!) I've been running that program since it was
posted on this thread, and it works like a charm.

The bug is also clearly described upstream on the kernel Bugzilla, where
juanmanuel's solution is being turned into a kernel patch, so an
upstream fix is likely to be on the way.

I hope you'll find a way to put in evidence the relevant information,
especially when there will be 100 opened issues for this SINGLE problem
(or 100 issues immediately closed as duplicates???): this is clearly a
SINGLE bug with a SINGLE reference to a SINGLE upstream issue.

From my side, I am *not* going to open another bug just to increase the
Internet entropy (and reduce the likelihood for someone searching about
the problem to find the workaround)...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread erikj
As the original reporter I want to apologise to all of the affected
people here - I was not aware that my comment that I don't own the
hardware anymore will result in the bug being closed as won't fix.

Hopefully the patch will make it to the kernel and the fix will reach
Ubuntu anyway.

If not then I can offer this: If anyone with the NP900X3B laptop is
willing to test actually the latest builds mentioned in Christopher M.
Penalver comment #139 then I can claim to the Ubuntu folks that I
reclaimed my laptop from my daughter and confirm the bug again. ;-)

Regards,
Erik

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread juanmanuel
 If so, could you please test for this with the latest development
release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ .

I downloaded  trusty-desktop-amd64.isofrom that link, and tested
with my Series 5 NP530U3C, and the issue still persist in the latest
ubuntu. So, latest ubuntu is the same.

Here is what I did:
 1) Downloaded ISO image
 2) Put it in a 2GB pendrive using 'unetbootin' to transfer it there.
 3) Booted up, selected Try ubuntu without installing.
 4) Started acpi_listen, I see that plugging and unplugging are recognized 
as events.
 5) Suspended the laptop by closing the lid.
 6) Unplugged, plugged, unplugged. (8 actions or more) while suspended. 
 7) Resumed from sleep.
 8)  Now events are NOT produced anymore and the laptop got into 
problem state. 
  Closing the lid doesn't suspend the laptop. The battery icon says 
charging even though the ultrabook is unplugged from the wall.

No surprise there. Still UNFIXED in latest ubuntu (the ISO file has a
date of 2014-02-22 in that download site).

Another way to get the laptop into problem state would be to let it
discharge or charge by 16% while suspended in S3 sleep.

Christopher: 
Should I file a new bug report?
--
Juan Manuel Cabo

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread Christopher M. Penalver
Juan Manuel Cabo, yes.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread juanmanuel
I also wanted to put all the info in one place, so I made this blog
here:

   http://www.zenstep.com.ar/samsung-linux

Cheers
--
Juan Manuel Cabo

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread juanmanuel
Christopher: I created the new issue here: 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589
--
Juan Manuel Cabo

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread paolo.mgi
I am on an NP900X3C-A02UK with Ubuntu Gnome 13.10. The patch works for
me out of the box. Battery status report and suspend on lid closed work
now correctly. De todo corazón muchas gracias, juan manuel!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-21 Thread Christopher M. Penalver
This is not a bug in acpi (Ubuntu) as this is just a software package
that displays information. Instead, this would be a bug in the linux
kernel (ex. samsung-laptop.c) for not handling the laptop lid logic
correctly.

** Package changed: acpi (Ubuntu) = linux (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in Linux ACPI client:
  Incomplete
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/acpi/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-21 Thread mmalmeida
FYI, the backlight sensor problem was reported here -
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-
daemon/+bug/1203592

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in Linux ACPI client:
  Incomplete
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/acpi/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-21 Thread juanmanuel
 This is not a bug in acpi (Ubuntu) as this is just a software package that 
 displays
  information. Instead, this would be a bug in the linux kernel (ex. 
 samsung-laptop.c) 
 for not handling the laptop lid logic correctly.

No, you are confounding two issues.

This is a buggy behaviour in samsung's EC embedded controller when going to 
sleep and resuming, that can
only be fixed in linux kernel ACPI handling of it ( 
linuxkernel/drivers/acpi/ec.c ).
There is a patch ready in the kernel bugzilla, that adds a few lines to 
acpi/ec.c, that I personally
tested and confirmed that does the same as my userspace workaround (unstuck the 
samsung
ACPI embedded controller):

  https://bugzilla.kernel.org/show_bug.cgi?id=44161 (comments
133 and 135)


samsung-laptop.c has nothing to do with ACPI or the LID detection or this bug. 
samsung-laptop.c uses a SABI interface.
The reason samsung-laptop.c came up, was because that file disables keyboard 
backlight under certain
conditions, and some people said that now that the LID and AC status works with 
my fix, that
now keyboard backlight was the only thing missing for linux compatibility. I 
just brought up
samsung-laptop.c to point to how to fix that last, separate, independant 
remaining problem
of keyboard backlight. 

LID detection and AC status detection, is handled by standard ACPI
drivers in these laptops.

So, this _is_ a bug that is fixed by patching ACPI's drivers/acpi/ec.c.
(or by my userspace program that pokes two EC ports, post #103).

Cheers
--
Juan Manuel Cabo

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in Linux ACPI client:
  Incomplete
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/acpi/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-21 Thread juanmanuel
I'm sorry, yes, its not a bug in the userspace acpi program,
rather a problem that can be fixed by the kernel ACPI or a userspace workaround 
(post #103).
Cheers
--
Juan Manuel Cabo

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971061

Title:
  acpi reports battery state incorrectly

Status in Linux ACPI client:
  Incomplete
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have a new Samsung 9-series laptop (NP900X3B) and the battery state
  is detected incorrectly. Basically the state what was at the time of
  boot stays active all the time - regardless of the ac-adapter state.

  Here is output from acpitool -a -b in various situations:

  When booted with charger connected and charger is still connected:
Battery #1 : charging, 47.00%, 01:00:43
AC adapter : on-line 
   
  When booted with charger connected and charger is now disconnected:
Battery #1 : charging, 47.00%, 01:36:59
AC adapter : off-line 
  [The battery couldn't possibly be charging when the AC adapter is offline!]

  When booted with charger disconnected and charger is still disconnected:
Battery #1 : discharging, 47.00%, 01:39:44
AC adapter : off-line 

  When booted with charger disconnected and charger is now connected:
Battery #1 : discharging, 47.00%, 00:53:43
AC adapter : on-line 
  [The battery is actually charging as the AC adapter is online]

  The percentage and time are correctly updated when the battery is
  actually charging or discharging - regardless of the reported state.
  So the state is the only thing that is incorrect. However a number of
  applications make their decisions based on this state (battery
  monitor, jupiter, etc.) and therefore behave incorrectly.

  lshal -m doesn't report anything when I plug the charger in or out.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: acpi (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Sun Apr  1 22:50:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120328)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: acpi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/acpi/+bug/971061/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp